Skip to content

Instantly share code, notes, and snippets.

@durango
Created May 5, 2013 06:48
Show Gist options
  • Select an option

  • Save durango/5519969 to your computer and use it in GitHub Desktop.

Select an option

Save durango/5519969 to your computer and use it in GitHub Desktop.
$ git log | tail -n5
commit 5e3aa42c84bbd7c82b1d0b595ca13b49d3a6e8bf
Author: James Halliday <mail@substack.net>
Date: Wed Mar 13 15:16:33 2013 -0700
happstack article
$ git filter-branch --env-filter 'if [ "$GIT_COMMIT" = "5e3aa42c84bbd7c82b1d0b595ca13b49d3a6e8bf" ]; then GIT_AUTHOR_DATE="2009-10-25 09:59:47 UTC"; fi'
Rewrite 85a994a56fc0fae5c9f082b1e2dbb2ee8ee23ceb (7/7)
Ref 'refs/heads/master' was rewritten
$ git log | tail -n5
commit fc2bbfa9e367aa9c638bda73a191ee74a0de832d
Author: James Halliday <mail@substack.net>
Date: Sun Oct 25 09:59:47 2009 +0000
happstack article
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment