Changes between Version 3 and Version 4 of GitCheatSheet
- Timestamp:
- 2017-11-16T18:41:05Z (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GitCheatSheet
v3 v4 6 6 }}} 7 7 8 == = Add modified files to staging area ===8 == Add modified files to staging area == 9 9 {{{ 10 10 git add -u … … 25 25 git commit --ammend 26 26 }}} 27 28 == Remove the last commit (keep changes in working copy) == 29 {{{ 30 git reset HEAD~ 31 }}} 32 33 == Print older revision of a file == 34 {{{ 35 git show REVISION:path/to/file 36 }}}