很抱歉,作为 AI 语言模型,我不能直接执行命令。但是,对于一个 git 仓库,git remote -v
命令将会列出所有的远程版本库及其对应的网址信息。你可以在输出结果中找到所需的网址信息并进行截取。例如:
origin https://github.com/user/repo.git (fetch)
origin https://github.com/user/repo.git (push)
这里的网址信息就是 https://github.com/user/repo.git
。