• Jesus_666@feddit.de
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    7 months ago

    I use interactive rebases to clean up the history of messy branches so they can be reviewed commit by commit, with each commit representing one logical unit or type of change.

    Mind you, getting those wrong is a quick way to making commits disappear into nothingness. Still useful if you’re careful. (Or you can just create a second temporary branch you can fall back onto of you need up your first once.)