Confirmed users
1,643
edits
| 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. | ||
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. | ||