Skip to main content

Revert a Number of Commits

· One min read
Luiz Rosalba

When you want to go back a lot of commits in one command use:

  1. git reset --soft HEAD~N

Where N is the number of commits you want to go back