Skip to content

Instantly share code, notes, and snippets.

@hyfather
Created September 12, 2011 16:22
Show Gist options
  • Save hyfather/1211681 to your computer and use it in GitHub Desktop.
Save hyfather/1211681 to your computer and use it in GitHub Desktop.
I redirect this snippet's output into a version file that forms for good metadata about a deployable package which usually doesn't have the git repository along with it.
git log HEAD^..HEAD --format="%an pushed change %h on %aD.%n%nWhat's in this change?%n%s%n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment