3 ms·
> Squash commit will squash everything done into a single commit, so reverting it is easier. No, it's just as easy, while needlessly throwing away other useful
by seba_dos1 4y ago
> Squash commit will squash everything done into a single commit, so reverting it is easier.
No, it's just as easy, while needlessly throwing away other useful information.
> If you did not squash, you need to cherry-pick all commits from the merge.
...or use a single `git rebase` invocation.
> If the feature branch was not rebased
Linear workflows with merge commits usually require feature branches to be rebased on merge (just like squashes, just without the actual squashing), so that's not a problem at all.