git-get icon indicating copy to clipboard operation
git-get copied to clipboard

git-list crashes when running on repo without commits

Open grdl opened this issue 4 years ago • 0 comments

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.

grdl avatar Apr 05 '21 08:04 grdl