From 51b0b12663c224d640630c2e7eaf8bd1560a2533 Mon Sep 17 00:00:00 2001 From: Chris Lane Date: Thu, 9 Jul 2015 18:41:00 -0400 Subject: [PATCH] Minor addition to git cheatsheet --- cheat/cheatsheets/git | 1 + 1 file changed, 1 insertion(+) diff --git a/cheat/cheatsheets/git b/cheat/cheatsheets/git index 951c0d8..9aa57ca 100644 --- a/cheat/cheatsheets/git +++ b/cheat/cheatsheets/git @@ -20,6 +20,7 @@ git commit --amend # Git commit in the past git commit --date="`date --date='2 day ago'`" git commit --date="Jun 13 18:30:25 IST 2015" +# more recent versions of Git also support --date="2 days ago" directly # To removed staged and working directory changes git reset --hard