1.切換到現在開發的上分支
git checkout dev-demo
2.最好獲取最新的代碼
git pull origin dev-demo
3.然后從這分支拉copy新建個分支dev-demos:
git checkout -b dev-demos
4.push到遠端
git push origin dev-demos
5.關聯
git branch --set-upstream-to=origin/dev-demos
1.切換到現在開發的上分支
git checkout dev-demo
2.最好獲取最新的代碼
git pull origin dev-demo
3.然后從這分支拉copy新建個分支dev-demos:
git checkout -b dev-demos
4.push到遠端
git push origin dev-demos
5.關聯
git branch --set-upstream-to=origin/dev-demos
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。