Created
April 22, 2017 06:21
-
-
Save h4ckninja/44e8cd2b57e1b41a618e8e15d7e6f311 to your computer and use it in GitHub Desktop.
Checkout all git revisions
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 log --format=oneline | cut -d " " -f 1 > log.txt; for rev in $(cat log.txt); do mkdir $rev && git --work-tree=./$rev/ checkout $rev -- .;done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment