git拉取远程所有分支/添加远程仓库

git拉取远程所有分支/添加远程仓库

git fetch --all
git pull --all

或者:

git pull origin

此时查看本地所有分支:

git branch -a

git在远程添加一个仓库:

git remote add name 你的仓库名 

查看远程仓库:

git remote -v

猜你喜欢

转载自blog.csdn.net/zhangphil/article/details/129189980