Skip to content

Instantly share code, notes, and snippets.

@silvandiepen
Created February 27, 2025 18:29
Show Gist options
  • Save silvandiepen/5fb3128f7392ad7ef4c9f9da0d43c2e3 to your computer and use it in GitHub Desktop.
Save silvandiepen/5fb3128f7392ad7ef4c9f9da0d43c2e3 to your computer and use it in GitHub Desktop.
Add some changes to a previous commit
git add . && git commit --fixup [COMMIT_HASH] && GIT_SEQUENCE_EDITOR=true git rebase -i --autosquash [COMMIT_HASH]^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment