3 ms·
PRs are merged squash everywhere I worked, so whats the point? Commit messages are hardly ever useful for me working on a task for a few days or even weeks.
by andoando 2y ago
PRs are merged squash everywhere I worked, so whats the point? Commit messages are hardly ever useful for me working on a task for a few days or even weeks.
- leetrout 2y agoGit keeps the commit messages when using `git merge --squash`. By default it will produce a commit message starting with `Squashed commit of the following:` The contents of this message are staged in `.git/SQUASH_MSG`. When using GitHub the squash merge commit behavior is configurable and the teams I've been on have kept it configured to keep the commit messages of the commits being squashed. I assume GitLab has similar functionality.