Read more

How to use git fixup

Emanuel
May 22, 2020Software engineer at makandra GmbH

Using git fixup helps you to speed up appending changes further back in the git history of your feature branch.

Illustration online protection

Rails professionals since 2007

Our laser focus on a single technology has made us a leader in this space. Need help?

  • We build a solid first version of your product
  • We train your development team
  • We rescue your project in trouble
Read more Show archive.org snapshot

Example:

git commit --fixup aabbcc # Create a commit with the message "fixup! Commit message of aabbcc"
git rebase -i --autosquash master

It would be nice if you could use this feature without the -i flag, but until now it seems not to be possible. Read more about our recommended git workflow for feature branches.

Also have a look at git shortcut to use git fixup

Posted by Emanuel to makandra dev (2020-05-22 15:59)