| ▲ | leptons 4 days ago | |||||||
I manage a team of developers, and I don't think any of us squash commits, and I really don't care. It's been working fine for 8 years at this job. We keep our git use extremely simple, we don't spend much time even thinking about git. The most we do with git is commit, push, and merge (and stash is useful too). Never need to rebase or get any deeper into git. Doing anything complicated with git is wasting development time. Squashing commits isn't useful to us at all. We have too much forward velocity to worry that some commit isn't squashed. If a bug does come up, we move forward and fix it, the git history doesn't really figure into our process much, if at all. | ||||||||
| ▲ | ziml77 4 days ago | parent [-] | |||||||
Squash is just something you do at the point of merging. It's a single option during the merge and doesn't have you doing any more work than a merge that you don't squash. I don't know about github, but I know in gitlab it's a simple checkbox in the merge request (and it can be set to be checked by default by the admin if they want). | ||||||||
| ||||||||