1.

What has to be run to squash multiple commits (last N) into a single commit?

Answer»

Squashing MULTIPLE commits to a single one overwrites the HISTORY which is why it is recommended to be done using full caution. This step can be done by RUNNING the command: GIT REBASE -i HEAD~{{N}} where {{N}} represents the number of commits needed to be squashed.



Discussion

No Comment Found