Cjku/git: Difference between revisions

6 bytes removed ,  29 October 2014
Line 297: Line 297:
# You can recover what you change in working directory by either of them.
# You can recover what you change in working directory by either of them.


But from high level, you may also notice some difference between them
From high level, you may also notice some difference in between
# You can reset HEAD to any revision; checkout to sepcific revision enter 'detached HEAD' state
# You can reset HEAD to any revision; checkout to sepcific revision enter 'detached HEAD' state
# checkout change branch; while reset does not.
# checkout change branch; while reset does not.
Confirmed users
1,643

edits