eclipse使用git管理代碼

share project
1.先提交到本地

2.commit

3.git服務器新建項目

4.push 到遠程(強制初始化或先拉取後push)

5.pull
branch.master.merge=refs/heads/master
remote.origin.url=http://*.git
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*


clone project


git command
$ git init
$ git pull url master:master

$ dir 查看有哪些文件夾

$ git rm -r --cached target 刪除target文件夾
$ git commit -m '刪除了target' 提交,添加操作說明

$ git push -u origin master 將本次更改更新到github項目上去


git中tag與release的創建以及兩者的區別
http://www.jianshu.com/p/79ecf4fe5079


github如何提交自己修改的代碼
https://www.cnblogs.com/qinggege/p/6641923.html
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章