Created
January 31, 2012 06:36
-
-
Save brianjriddle/1709251 to your computer and use it in GitHub Desktop.
git checkout source code to a specific date
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 "`git rev-list master -n 1 --first-parent --before=2008-03-02`" |
Yes the format is yyyy-mm-dd
2009-03-30
2020-12-31
etc...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe 2009-03-30