On Thu, Feb 26, 2009 at 2:08 AM, Jay Soffian [off-list ref] wrote:
Is there any different between the following two commands?
git reset <commit> -- <paths>...
git checkout <commit> -- <paths>...
As far as I can tell from the man pages, they are equivalent. To wit:
both update the index and working copy for the given paths to the
state that they were in in <commit>.
Doh, answering my own question. reset only touches the index, not the
working copy. checkout updates both.
j.