Skip to content

Instantly share code, notes, and snippets.

@tkuhrt
Created July 7, 2017 22:34
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save tkuhrt/0bfe16e7fd08e51386aeee839f3a0978 to your computer and use it in GitHub Desktop.
Get Date of Last Commit in a git repository
#!/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