Skip to content

Instantly share code, notes, and snippets.

View ajhekman's full-sized avatar

A.J. Hekman ajhekman

View GitHub Profile
@ajhekman
ajhekman / git-change-date.sh
Last active March 2, 2017 16:03 — 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.