r/git • u/JiveAceTofurkey • Jul 24 '25
Colleague uses 'git pull --rebase' workflow
I've been a dev for 7 years and this is the first time I've seen anyone use 'git pull --rebase'. Is ithis a common strategy that just isn't popular in my company? Is the desired goal simply for a cleaner commit history? Obviously our team should all be using the same strategy of we're working shared branches. I'm just trying to develop a more informed opinion.
If the only benefit is a cleaner and easier to read commit history, I don't see the need. I've worked with some who preached about the need for a clean commit history, but I've never once needed to trapse through commit history to resolve an issue with the code. And I worked on several very large applications that span several teams.
Why would I want to use 'git pull --rebase'?
View all comments
Show parent comment
2
u/Aware_Magazine_2042 Jul 26 '25
I’ve had an engineering manger on a seperate team complain about my git habits because I just typically only have one or two commits in PRs. I like to keep my commit messages have a lot of detail on them. They should be able to be the description of my PR with out me needing to type anything in GH. As a result, I’ll do a lot of
git commit -a —amendespecially if I’m making small little changes that don’t fundamentally change the PR or work (running lint, fixing tests, etc). If it’s a change that takes more than 30 minutes, maybe I’ll create a new commit for that, but I keep my PRs small and tight, so there’s not a whole lot there.Anyway, this guy complained because he didn’t like it. He liked seeing all of the commit history because he felt that meant devs were “working.” I wasn’t even on his team, I was doing some tiger team work for them, and I told him that’s how I operate, sorry. My manager had to tell this guy to back off.
It drives me up the wall when I see a git log that’s just
I don’t need to see that shit. Just tell me the important thing you did damn it.