Skip to content

Instantly share code, notes, and snippets.

@peagha
Created June 27, 2016 23:02
Show Gist options
  • Save peagha/f49e0d5fd2a94e6ec0f383e4d666e580 to your computer and use it in GitHub Desktop.
Save peagha/f49e0d5fd2a94e6ec0f383e4d666e580 to your computer and use it in GitHub Desktop.
Starts at the beginning of the git history and steps one commit every time 'enter' is hit
for commit in $(git rev-list master --reverse)
do
git checkout $commit
read
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment