$ git ls-remote
结果
fatal: No remote configured to list refs from.
我已经定义了 Remote
$ git remote
结果
personal_remote
upstream
最佳答案
我们可以在命令中提供远程:
git ls-remote personal_remote
命令适用于 git 版本 1.9.1
关于git ls-remote 返回 "fatal: No remote configured to list refs from.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31436407/