News for hackers. Stuff that matters.
Re:Extremely Linear Git History by micw on Tuesday November 22, 2022 @03:52PM (#33711343)
Rather than switching to "main" and pull it, you can just stay in "feature" and do a fetch followed by "rebase origin/main". Then pull "main" before you merge the feature.

I'd also use "merge --no-ff" to force an empty commit that visualizes where a feature begins and ends.

There are no comments on this comment yet.