You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the git directory is empty (as seems to happen from time to time) the code tries to reset and fails:
> git --no-pager clean --force -d -x
< Refusing to remove current working directory
! fatal: ambiguous argument 'master': unknown revision or path not in the working tree.
! Use '--' to separate paths from revisions, like this:
! 'git <command> [<revision>...] -- [<file>...]'
! fatal: ambiguous argument 'unstable': unknown revision or path not in the working tree.
! Use '--' to separate paths from revisions, like this:
! 'git <command> [<revision>...] -- [<file>...]'
! fatal: ambiguous argument 'unstable^{tree}': unknown revision or path not in the working tree.
! Use '--' to separate paths from revisions, like this:
! 'git <command> [<revision>...] -- [<file>...]'
It should be possible to validate the git directory (and simply delete it if it fails) at the start.
The text was updated successfully, but these errors were encountered:
When the
git
directory is empty (as seems to happen from time to time) the code tries to reset and fails:It should be possible to validate the
git
directory (and simply delete it if it fails) at the start.The text was updated successfully, but these errors were encountered: