我如何检索回购的远程git地址?
我如何检索回购的远程git地址?
我试过git远程,但只是列出了分支机构。
当您想要显示远程分支的URL时,请尝试:
 git remote -v 
 如果你有远程的名字,你可以使用git 2.7(Q4 2015),使用新的git remote get-url命令: 
 git remote get-url origin 
  ( git remote set-url origin <newurl>漂亮吊坠) 
 见Ben mathstuf ( mathstuf ) 提交的96f78d3 (2015年9月16日) 。 
  (由Junio C gitster合并- gitster – in e437cbd ,2015年10月5日) 
远程:添加get-url子命令
扩展
insteadOf是ls-remote --url的一部分,无法扩展pushInsteadOf。
添加一个get-url子命令,以便能够查询两者以及获取所有configuration的URL的方法。