Created
July 7, 2017 22:34
-
-
Save tkuhrt/0bfe16e7fd08e51386aeee839f3a0978 to your computer and use it in GitHub Desktop.
Get Date of Last Commit in a git repository
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
#!/bin/bash | |
# Get date of last commit | |
git log -n 1 --format=%cd >> last-commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment