Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Clone in Desktop Download ZIP
#!/bin/sh -
if [ $# -eq 0 ]; then
git_commit_date="$(date -ud "@$(git show -q --pretty=format:%at HEAD)" +%Y-%m-%dT%H:%M:%SZ)"
git_commit_email="$(git show -q --pretty=format:%ae HEAD)"
else
git_commit_date="$(date -ud "@$(git show -q --pretty=format:%at "$1")" +%Y-%m-%dT%H:%M:%SZ)"
git_commit_email="$(git show -q --pretty=format:%ae "$1")"
fi
printf '%s!%s\n' "$git_commit_date" "$git_commit_email"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.