【git】git切換分支

git checkout master

git pull master

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

git checkout -b 想要取的本地分支的別稱


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

cd .git

./pushgerrit 主分支別稱

cd ..





發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章