Git browse would first check the current HEAD and output a git fatal for the following line.
|
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.
Git browse would first check the current
HEADand output a git fatal for the following line.git-extras/bin/git-browse
Line 5 in ad8c77b
To reproduce, just run
git browseinside a brand new git repo. Casting the error into/dev/nullshould fix it.