mirror of
https://github.com/cheat/cheat.git
synced 2024-11-19 02:10:38 +01:00
Minor addition to git cheatsheet
This commit is contained in:
parent
ae45265317
commit
51b0b12663
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue