Check out the nth commit to master in a git repository. This command can be used during presentation to skip through the history of a repo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
|git checkout master|
|SHA1=`git rev-list HEAD | tail -n $1 | head -n 1`|
|git checkout $SHA1|