更行git操作
如果,你需要更新你上传到git中的java项目,你需要在eclips中,点击window–>git–>Configuration—>Repository Setting–>Repository:找到你的java项目然后点击open。将
[remote “origin”]
url = http://gitlab.myhope365.com/job009/IPSearchLocation.git
fetch = +refs/heads/:refs/remotes/origin/
[branch “master”]
remote = origin
merge = refs/heads/master
拷贝只其中:然后将IPSearchLocation改成你git中的项目的名称。或者将url改成你git中的路径。
然后右击项目:Team–>commit–>填写commit message(随便写)—>选择你要提交的项目—>Commit and Push。
一切完成,OK!!!!