GitHub使用教程for Eclipse
1.下载egit插件
打开Eclipse,git需要eclipse授权,通过网页是无法下载egit的安装包的。在菜单栏依次打开eclipse→help→install new software→add,Name栏中输入egit,location栏中输入 http://download.eclipse.org/egit/updates/ ,点击ok进行下载。
git 操作几个命令
git clone ssh://lijianfeng@192.168.1.246:29418/GMGameSDK压栈:git stash查状态:git status切换到要修改的提交:git rebase -i HEAD~3提交完成后的修改:git commit -a --amend确认提交:gi...
eclipse提交项目到github
1.在https://github.com new repository
2.在eclipse中new project 比如:Test项目
3.右击"Test"->Team->share project... ->select a repository type:Git 勾选 Use or create repository in parent folder of project 点击 Create Repository -> Finish 这时候打开在workspace中的Test目录会发现多了一个.git文件夹。