Skip to content

Instantly share code, notes, and snippets.

@tkuhrt
Created July 7, 2017 22:34
Show Gist options
  • Save tkuhrt/0bfe16e7fd08e51386aeee839f3a0978 to your computer and use it in GitHub Desktop.
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