Closed Airblader closed 2 years ago
This is a dupe of #1207 and is already fixed in current master. A new release is being prepared and will be out soon.
Until then, here's a workaround. Changing the priority of the git_hook_bypass
will bring back the previous, desired behaviour. Just export THEFUCK_PRIORITY
as the following for all shell sessions (.bashrc
, .profile
, .zshrc
or config.fish
depending on your shell).
export THEFUCK_PRIORITY="git_hook_bypass=1100"
Please refer to the Settings session of the documention if you'd like to change more than one priority.
Sorry for this inconvenience. I'll leave this open for the time being.
Ah, I see. I had only looked for open issues. Thanks for the swift reply and the great tool!
The output of
thefuck --version
(something likeThe Fuck 3.1 using Python 3.5.0 and Bash 4.4.12(1)-release
):Your system (Debian 7, ArchLinux, Windows, etc.):
How to reproduce the bug:
I always "git push + fuck" to push new branches. However, as of recently this no longer works because fuck tries to execute the wrong command:
The output of The Fuck with
THEFUCK_DEBUG=true
exported (typically executeexport THEFUCK_DEBUG=true
in your shell before The Fuck):