Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changes between Version 3 and Version 4 of GitCheatSheet


Ignore:
Timestamp:
2017-11-16T18:41:05Z (21 months ago)
Author:
Jiri Svoboda
Comment:

Uncommit, cat old revision

Legend:

Unmodified
Added
Removed
Modified
  • GitCheatSheet

    v3 v4  
    66}}}
    77
    8 === Add modified files to staging area ===
     8== Add modified files to staging area ==
    99{{{
    1010git add -u
     
    2525git commit --ammend
    2626}}}
     27
     28== Remove the last commit (keep changes in working copy) ==
     29{{{
     30git reset HEAD~
     31}}}
     32
     33== Print older revision of a file ==
     34{{{
     35git show REVISION:path/to/file
     36}}}