[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

 

转载于:https://www.cnblogs.com/afeng2010/p/9989488.html

    原文作者:Just do it
    原文地址: https://blog.csdn.net/weixin_30770783/article/details/95843400
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞