5 ms·
In what situations does this solve a problem? In our projects we only enable squash merge in GitHub and the PRs can have any commits you want. The squashed com
by enw 2y ago
In what situations does this solve a problem?
In our projects we only enable squash merge in GitHub and the PRs can have any commits you want. The squashed commit includes link to PR, and PR has detailed summary (which wouldn’t be practical in the commit message).
- titusjohnson 2y agoAgreed. It's been a decade or more since I and the teams I worked with did anything other than squash-merging a feature branch into main. The PR body becomes the commit body for the squash, and we're done. Developers can be as f'n messy as they want on their branches, no one cares because it never hits main.
- keybored 2y agoAdmittedly git absorb solves a smaller problem. Because if you do squash merges and leave the history in GitHub you have much bigger problems.