Eva*_*ske 7 git
我一直在研究远程git存储库的本地克隆,将我的更改提交给我的本地主分支.现在,我想将我的提交推送到远程存储库.但是,我想保持我的本地提交与远程主分支分开,这样我就不会破坏任何东西.如何将本地提交推送到新的远程分支?
Dae*_*yth 17
您应该运行git help push,这将告诉您推送的refspec的语法.简而言之,git push <remotename> <local_branch_name>:<remote_branch_name>
git help push
git push <remotename> <local_branch_name>:<remote_branch_name>
归档时间:
15 年,5 月 前
查看次数:
11033 次
最近记录:
7 年,6 月 前