git-get
git-get copied to clipboard
git-list crashes when running on repo without commits
Steps to reproduce:
❯ mkdir new-repo
❯ cd new-repo
❯ git init
❯ git list -r .
.
└── error
Oops, errors happened when loading repository status:
git rev-parse --symbolic-full-name --abbrev-ref HEAD failed on .: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
git ls-remote --get-url failed on .: fatal: No remote configured to list refs from.