eclipse github pull功能使用
1、在看这篇教程时,大家应该都是已经配置好了。只是还无法实现pull(从github获取代码),和提交时无法自动保存账号密码的功能。
2、其实这是eclipse配置的问题。可以去window->preference->team->git->configuration->repository Setting.里面添加参数:
3、[core] repositoryformatversion = 0 filemode = false logallrefupdates = true[remote "origin"] url = https://用户名:密码@github.com/XiaoFengGe1/tt4.git(后面参考自己的URL) fetch = +refs/heads/*:refs/remotes/origin/* push = +refs/heads/master:refs/heads/master[branch "master"] remote = origin merge = refs/heads/master
4、也可以去工程目录下,.git目录下用记事本打开config文件。把上面代码复制进去。根据自己情况做修改。