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
After upgrading from lefthook 1.6.14 to 1.6.15 (or higher), every push results in the following output:
π ~/dev/ftl $ git push aat/bump-lefthook-2
β waitingfatal: ambiguous argument '@{push}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument '@{push}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument '@{push}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument '@{push}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument '@{push}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
This only occurs if the remote branch doesn't already exist. Once it exists everything works fine.
π§ Summary
After upgrading from lefthook 1.6.14 to 1.6.15 (or higher), every push results in the following output:
This only occurs if the remote branch doesn't already exist. Once it exists everything works fine.
On 1.6.14 this works in either case.
Lefthook version
1.6.15 a58c11d
Steps to reproduce
I'm not sure, it happens 100% of the time for me. Let me know if there's any further information you'd need to reproduce it.
Possible Solution
Logs / Screenshots
The text was updated successfully, but these errors were encountered: