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 Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
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)