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 attempting to commit changes using evergit commit in a local repository, the command fails with the error message:
? Select files to stage: .gitignore, README.md, something.py
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>...]'
C:\Users\iansk\AppData\Roaming\nvm\v20.18.0\node_modules\evergit\dist\util\git.js:137
throw new Error('Unable to get current branch name.');
^
Error: Unable to get current branch name.
at getCurrentBranchName (C:\Users\iansk\AppData\Roaming\nvm\v20.18.0\node_modules\evergit\dist\util\git.js:137:15)
at C:\Users\iansk\AppData\Roaming\nvm\v20.18.0\node_modules\evergit\dist\cmd\commit.js:41:55
at Generator.next (<anonymous>)
at fulfilled (C:\Users\iansk\AppData\Roaming\nvm\v20.18.0\node_modules\evergit\dist\cmd\commit.js:5:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v20.18.0
The text was updated successfully, but these errors were encountered:
When attempting to commit changes using evergit commit in a local repository, the command fails with the error message:
The text was updated successfully, but these errors were encountered: