Git doctors don't want you to know this simple trick!
New blog post: why git rebase
doesn't do what you think, and why git rebase --onto
is what you actually wanted. https://lamaquinadeturing.su/en/2024/10/git-rebase-onto/
=> More informations about this toot | More toots from urixturing@hachyderm.io
tl;dr: to only move commits 5 and 6, and skip 3 and 4, use git rebase 4 --onto main
, read as "move commits from 4 to feature/bar onto main"
=> More informations about this toot | More toots from urixturing@hachyderm.io This content has been proxied by September (ba2dc).Proxy Information
text/gemini