Is there a difference between "git reset --hard hash" and "git checkout hash"?
- by e-satis
While reset and checkout have different usages most of the time, I can't see what difference there is between these two.
There probably is one or nobody would have bothered adding a "--hard" option to do something the basic "checkout" can do.
Maybe there is a difference is the way you will the the history?