Merging commits
Squashing is the process of merging multiple commits into a single commit.
If you run the git merge command and the --squash
option, a new commit will group all of the commits from a branch together. That commit can then merge into the current branch.