Skip to content

Instantly share code, notes, and snippets.

@huangblue
Created August 22, 2016 10:49
Show Gist options
  • Save huangblue/d6d449633b32b5bfcd49a27cb540b451 to your computer and use it in GitHub Desktop.
Save huangblue/d6d449633b32b5bfcd49a27cb540b451 to your computer and use it in GitHub Desktop.
git clone,git fetch,git pull
git clone 自动添加了远程仓库,命名为origin
git fetch 拉取到本地仓库(.git),并不合并。以后需要手工合并
git pull 自动合并远程分支到本地分支
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment