$ git ls-remote
results in
fatal: No remote configured to list refs from.
I have remotes defined
$ git remote
results in
personal_remote
upstream
On
We can provide remote in the command:
git ls-remote personal_remote
Command worked for me on git version 1.9.1
I can get this behavior in repos that have no
originremote. You can supply an alternate default remote name by settingremote.pushDefault.