Rebase vs Merge guide
4mon 12d ago by lemmy.world/u/monica_b1998 in git@programming.dev from slicker.me
I was prepared to use my Cunningham Law mental model to correct your article, but no. I have nothing to say 😊
I've seen way too many wrong usage of git merge/rebase in lots of article but you get the point and clearly explained it.
Maybe just at the end, instead of
git checkout main
git pull
git checkout feature-branch
git rebase main
I would just do:
git fetch
git rebase origin/main
This avoid checkout main and checkout back to working branch, which may takes times on big repos.
This is just straight up "ChatGPT write me an article about merge vs rebase".
It's also missing any discussion of squashing, CI, git blame, git bisect etc.
Content-free post?
it's a link. is it not working for you?