Git Tutorial

远程分支下载到本地

git clone -b branch_name

关于换行问题

git cogfig –global core.autocrlf false

——git pull 与本地发生冲突时——-
git checkout your_directory_or_filename # recovery last commit status
git pull origin develop # Follow develop
git commit -m “commit message”

—or—
git add your_changed_dir_or_filename # save changes
git commit -m “change message”
git stash
git pull origin develop # Follow develop
git commit -m “…”

git push #把合并的更新到服务器上

—git pull时出现unable to unlink old—
close all used prosess

你可能感兴趣的:(学习笔记)