【git】git切换分支

git checkout master

git pull master

git checkout -b 想要取的主分支的别称 origin/master(主分支的名字)

git checkout -b 想要取的本地分支的别称


git push 的时候使用工具:pushgerrit放在.git文件夹下

cd .git

./pushgerrit 主分支别称

cd ..





猜你喜欢

转载自blog.csdn.net/shiki_41/article/details/80840287