在eclipse中使用git的时候,前一次push完之后,再push一次时,总会又出现让你重新填写push地址。
解决办法:
eclipse –> Window –> Team –> configuration,Respository Settings 最上面有个Respository,找到你现在的项目,点击右边的open,会打开git的配置。
[core]
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[remote "origin"]
url = https://git.oschina.net/xxxx/项目名.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master