idea创建的本地分支提交到Git服务器
2019-04-29 本文已影响0人
擦普洱
经常一个项目可能会中途撤场,苦逼的程序员可能埋头在写交接文档的时候需要将自己本地的未提交代码的分支提交到Git服务器中,以下给出说明:
1.首先切换到当前需要提交Git服务器代码的分支

2.然后选中项目->Git->Repository->Push

3.在弹出当前窗口中左下角勾选 Push Tags 然后选中 Current Branch当前分支
[表示只提交当前分支]点击Push即可

5.验证:打开Git服务器网页进行查看是否存在

完事了。
不怕从零开始,只怕从未启程。