git
-
git diff
-stats
: show stats of changes--cached
: show staged changes
-
git reset ~head~1
-
git commit
-s
: sign off on the commit-m
: commit message--amend
: amend the last commit
git diff
-stats
: show stats of changes--cached
: show staged changesgit reset ~head~1
git commit
-s
: sign off on the commit
-m
: commit message
--amend
: amend the last commit