Difference between revisions of "Git/squash"

from HTYP, the free directory anyone can edit if they can prove to me that they're not a spambot
< Git
Jump to navigation Jump to search
(Created page with "==Notes== Squashing seems to involve something like this: # Create new branch from master $ git checkout -b squash-feature # squash the commits from featu...")
(No difference)

Revision as of 12:25, 31 October 2018

Notes

Squashing seems to involve something like this:

# Create new branch from master
$ git checkout -b squash-feature

# squash the commits from feature into your squash branch
$ git read-tree -m -u feature