Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple Git fixup
git config --global alias.fu = "!f() { git commit --fixup $1; EDITOR=cat git rebase --interactive --autosquash $1~; }; f"
git add .
git fu <commit>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.