Heres my based af workflow:
git checkout -b feature-branch
rebase on top of dev whilst working locally
git rebase origin/dev-branch && git push -f
if i need to fix conflicts with dev-branch during a PR
git merge origin/dev
Anyone mind explaining to me how git rebase
is worth the effort?
git merge
has it's own issues but I just don't see any benefit to rebase over it.
Well, rebase allows you to resolve the same conflict ten times in a row instead of doing it once. How cool is that?
Rebase feature branch, merge commit into main
(NO SQUASH).
Fuck a merge commit! Rebase ervray day bay bayyy.
git rebase
is only for terrorists. 🥸
Also for me when I’ve been drinking and committed some really stupid shit into the repo. No one needs to know what I really think of my team members.
Yeah totally merge everything, people like a good spaghetti salad.
I personally prefer "git off my lawn"
Daily circlejerk
You had me a "Sydney Sweeney reveals".
I like rebase, it's everyone else that hate it when I rebase main
twice a day.
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics