Last active
March 26, 2024 09:58
-
-
Save sandrotanner/a1beabb8bff24568d2983dcaa00d2b64 to your computer and use it in GitHub Desktop.
checkout 14 days old commit
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
#!/usr/bin/env sh | |
git checkout "$(git rev-list -1 --before=14.days.ago main)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment