Eclipse4.4安装egit插件提交本地项目代码到远程仓库
一、安装egit
二、配置git
三、配置Eclipse的SSH
window->preference->general->network connection->SSH2->Key Management->generate RSA Key... ->apply->save private key...,然后将id_rsa.pub的内容添加到github上(Github的Settings有SSH keys->Add SSH Key->将id_rsa.pub内容填在key中,title任意)!四、Push
[core]
symlinks = false repositoryformatversion = 0 filemode = false logallrefupdates = true bare = false ignorecase = true hideDotFiles = dotGitOnly [remote "origin"] url = [email protected]:shijiebei2009/DocumentMatching.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master [user] name = shijiebei2009 email = [email protected] |
五、先Pull一下再Push
郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。