Cjku/git: Difference between revisions

55 bytes added ,  28 October 2014
Line 295: Line 295:
Checkout and reset are a bit confusing at times, at least for me.  
Checkout and reset are a bit confusing at times, at least for me.  
# Both of them change ref.
# Both of them change ref.
# You can recover what you change in working directory by checkout or reset.
# You can recover what you change in working directory by both checkout and reset. Sometimes, people just want one simple solution.


But you may also notice some difference between them
But you may also notice some difference between them
Confirmed users
1,643

edits