From a31eb9b14ccf631ff56de7264d3461e66d075b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Sun, 22 Mar 2015 16:49:56 -0700 Subject: [PATCH] --- Git magic.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Git magic.md b/Git magic.md index 10cfced..463bb5a 100644 --- a/Git magic.md +++ b/Git magic.md @@ -13,4 +13,7 @@ git filter-branch --subdirectory-filter 'path/to/your/submodule' --prune-empty - git filter-branch --force --index-filter \ 'git rm --cached --ignore-unmatch \#web40.tex\#' \ --prune-empty --tag-name-filter cat -- --all -``` \ No newline at end of file +``` + +## Change commit date + git commit --amend --date="Wed Feb 16 14:00 2011 +0100" \ No newline at end of file