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 you have a branch named stash, you receive the following error from lint-staged.
warning: refname 'stash' is ambiguous.
error: refname 'stash' is ambiguous
warning: refname 'stash' is ambiguous.
'--quiet stash@{0}' is not a stash reference
Steps to reproduce
git checkout -b stash
git checkout -b some-other-branch
touch foo.txt
git add foo.txt
git commit -m "test"
Expected:
Commits
Actual:
warning: refname 'stash' is ambiguous.
error: refname 'stash' is ambiguous
warning: refname 'stash' is ambiguous.
'--quiet stash@{0}' is not a stash reference
Description
When you have a branch named
stash
, you receive the following error fromlint-staged
.Steps to reproduce
git checkout -b stash
git checkout -b some-other-branch
touch foo.txt
git add foo.txt
git commit -m "test"
Expected:
Commits
Actual:
Debug Logs
expand to view
Environment
lint-staged
: 10.2.11The text was updated successfully, but these errors were encountered: