在eclipse中使用git的时候,前一次push完之后,再push一次时,总会又出现让你重新填写push地址。
解决办法:

在git配置文件中进行如下配置:
[core]
symlinks = false
repositoryformatversion = 0
filemode = false
logallrefupdates = true
[gui]
wmstate = normal
geometry = 841x483+265+85 189 218
[remote "origin"]
url = https://git.oschina.net/xxxx/项目名.git
fetch = +refs/heads/*:refs/remotes/origin/*
这样就不用每次都输入项目地址了
本文介绍在Eclipse中使用Git时,如何通过修改git配置文件,避免每次push都需要重新输入项目地址的问题。具体步骤包括设置核心参数,以及指定远程仓库的URL。
1058

被折叠的 条评论
为什么被折叠?



