git常用命令

git fetch

git fetch #将本地分支与远程保持同步
git checkout -b 本地分支名x origin/远程分支名x #拉取远程分支并同时创建对应的本地分支

原文地址:https://www.cnblogs.com/luao/p/11644695.html