Skip to content

Instantly share code, notes, and snippets.

@nachoaIvarez
Created September 22, 2022 14:42
Show Gist options
  • Save nachoaIvarez/51c902fd795524fcbc30b8de4208759c to your computer and use it in GitHub Desktop.
Save nachoaIvarez/51c902fd795524fcbc30b8de4208759c to your computer and use it in GitHub Desktop.
gfix() { # gfix: Git Fix
git commit --fixup $1 && GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash $1^
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment