项目文件夹的根目录下查找.git文件夹。打开config文件,里面的remote部分就是:
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
hideDotFiles = dotGitOnly
[branch “master”]
[branch “develop”]
[remote “origin”]
url = http://xxx@git.xxx.com/xxx/jybook2.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch “master”]
remote = origin
merge = refs/heads/master
[branch “develop”]
remote = origin
merge = refs/heads/develop
转载于:https://www.cnblogs.com/afeng2010/p/9989488.html