Skip to content

Instantly share code, notes, and snippets.

@jney
Created January 10, 2016 16:07
Show Gist options
  • Save jney/13ac22b6c150beabe3ad to your computer and use it in GitHub Desktop.
Save jney/13ac22b6c150beabe3ad to your computer and use it in GitHub Desktop.
[alias]
now = !DATE="$(date +"%s %z")" GIT_COMMITTER_DATE="$DATE" git commit --amend --date "$DATE" -C HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment