3 ms·
What is the advantage of creating my-working-branch-squashed over just git checkout master git merge --squash my-working branch git commit You hav
by wging 13y ago
What is the advantage of creating my-working-branch-squashed over just
git checkout master
git merge --squash my-working branch
git commit
You have to `git diff --staged` or `git diff master^` at some point to check that what you've done is right, but you would be doing that anyway with my-working-branch-squashed.