Skip to main content
1 of 2
Stephen Kitt
  • 481.7k
  • 60
  • 1.2k
  • 1.4k

To check out the parent commit, run

git checkout HEAD~1

This can be repeated ad nauseam, until you reach the first commit.

Stephen Kitt
  • 481.7k
  • 60
  • 1.2k
  • 1.4k