https://www.brethorsting.com/blog/2026/01/git-rebase-for-the-terrified/ #gitrebase #codingadventures #digitalfacepalm #programmerhumor #techguides #HackerNews #ngated
Stacked Diffs with git rebase —onto
https://dineshpandiyan.com/blog/stacked-diffs-with-rebase-onto/
#HackerNews #StackedDiffs #gitRebase #codingTips #versionControl
Starting Monday off with a nasty Git merge conflict and some rebase loop hell. Because why not.
`git rebase -i --rebase-merges`
allows you to recreate merge commits in the history; absolutely mind blowing
I hope I'll never use it.
@raboof Oh, nice!
> the break command (added in Git 2.20)
Sweet! I've been using the trick originally described, putting a dummy edit after the merge and then resetting back to the merge, for years!
I absolutely love --rebase-merges and use it many times per day to build and keep track of multiple parallel PRs.
It's still far from finished, but please welcome Bluebird! A Mac app for rewriting git history extremely quickly.
Reorder commits, amend old ones and fixup any two—with just a drag-and-drop or a couple of keystrokes.
Never slow down to save workdir changes—they're preserved automatically—and ⌘Z anything, even conflict resolutions.
It's direct manipulation for git rebase! No special mode needed.
I still have a lot to do, but boyyy is the app starting to feel useful 😊
--fixup=reword:<commit> creates an "amend!" commit which replaces the log message of <commit> with its own log message but makes no changes to the content of <commit>.git-scm.com/docs/git-commit#Do…git rebase --rebase-merges $REBASE_BASE --interactive