Group Commits With the git reset Command
Learn to group multiple commits into one commit by using git reset.
We'll cover the following...
The git reset
command
The git reset
command removes the commits and puts the changes in either the staged area (with the --soft
flag) or in the unstaged area (without the --soft
flag).
Group multiple commits
If we reset multiple commits, the changes in these commits are grouped. We can then commit again including all these ...