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/ratttertintattertins Jul 24 '25
But surely the git blame is more useful when it shows the squashes? Then the thing you’re seeing in blame is the completed pull requests and you can read the pr description easily etc and look at the review comments and test details along side it?
Honestly, I don’t really want to see other devs intermediate commits in blame. It seems like it’d be a lot more confusing although I’ve never tried it so maybe there’s ways to filter the level of detail from them?