Skip to content

Instantly share code, notes, and snippets.

View fmarcia's full-sized avatar

Franck Marcia fmarcia

  • Cesson-Sévigné, France
View GitHub Profile
@fmarcia
fmarcia / git-change-date.sh
Created November 3, 2016 09:53 — forked from maciej/git-change-date.sh
git: Change the commit and/or author date of git commits.
#!/bin/sh
#
# Change the commit and/or author date of git commits.
#
# change-date [-f] commit-to-change [branch-to-rewrite [commit-date [author-date]]]
#
# If -f is supplied it is passed to "git filter-branch".
#
# If <branch-to-rewrite> is not provided or is empty HEAD will be used.