[git]查看一个git项目的仓库位置

项目文件夹的根目录下查找.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

 
posted on 2018-11-20 16:01  无所住的风  阅读(12765)  评论(0编辑  收藏  举报