Created
August 27, 2020 10:32
-
-
Save christianb/f7bd62e4528ba4512a94979fb03e0bda to your computer and use it in GitHub Desktop.
Git checkout commit before date
This file contains hidden or 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 -n 1 --first-parent --before="2019-04-01 01:00" master` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment