eclipse中使用:

blog.csdn.net/zongzhankui/article/details/48653731


经过使用,还是通过命令更爽写:

  1. 参看这篇文章http://www.cnblogs.com/eaglezb/p/6602123.html

    我就是通过这篇文章一步一步实现使用git命令上传的


  2. 在这篇文章中执行第八步上传时候出现异常如下:

 error: failed to push some refs to  



hint: Updates were rejected because the tip of your current branch is behin


hint: its remote counterpart. Integrate the remote changes (e.g.


hint: 'git pull ...') before pushing again.


hint: See the 'Note about fast-forwards' in 'git push --help' for details.


解决办法:

 在git命令中执行 git pull --rebase origin master

 然后在执行第八步 完成 ,查看os.china.git 了


参考: 

https://jingyan.baidu.com/article/f3e34a12a25bc8f5ea65354a.html