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