Skip to content

Instantly share code, notes, and snippets.

@ggoboogy
Created January 9, 2020 05:51
Show Gist options
  • Save ggoboogy/a4d5b5acd5d2aeed17fa1547f9eac190 to your computer and use it in GitHub Desktop.
Save ggoboogy/a4d5b5acd5d2aeed17fa1547f9eac190 to your computer and use it in GitHub Desktop.
add small modification to old commit (will be squashed and commit hash will be CHANGED)
git add <my fixed files>
git commit --fixup=OLDCOMMIT
git rebase --interactive --autosquash OLDCOMMIT^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment