Cjku/git: Difference between revisions

20 bytes added ,  29 October 2014
Line 301: Line 301:
# git-checkout change the working branch; while reset does not.
# git-checkout change the working branch; while reset does not.


[[File: Git reset checkout.png|center|thumb|800px|Figure N. reset and checkout]]
[[File: Git reset checkout.png|center|thumb|800px|Figure N. reset and checkout at commit-ish level]]


OK, let's take a look at reset first:
OK, let's take a look at reset first:
Confirmed users
1,643

edits