Last active
October 23, 2022 21:30
-
-
Save obfusk/10707773e12aa35ff24c47e2ba6004db to your computer and use it in GitHub Desktop.
touch files in git repo based on last commit timestamp
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 ls-files | xargs touch -d "@$( git log -1 --pretty=%ct )" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment