-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Git browse would first check the current HEAD and output a git fatal for the following line.
Line 5 in ad8c77b
| branch=$(git rev-parse --abbrev-ref HEAD) |
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>...]'
To reproduce, just run git browse inside a brand new git repo. Casting the error into /dev/null should fix it.
Metadata
Metadata
Assignees
Labels
No labels