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 money motivation

Opscomplete powered by makandra brand

Save money by migrating from AWS to our fully managed hosting in Germany.

  • Trusted by over 100 customers
  • Ready to use with Ruby, Node.js, PHP
  • Proactive management by operations experts
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)