I have following working tree state $ git status foo/bar.txt # On branch master # Unmerged paths: #(use \"git reset HEAD <file>...\" to unstage)
While reset and checkout have different usages most of the time, I can\'t see what difference there is between these two.
Suppose my history goes that way : A - B - C - D (master) If I do git reset B, I\'ll got : A - B (master)