Friday, September 3, 2010

What's the difference between 'git reset' and 'git checkout' in git?

Programmer Question

I think both the 'git reset' and 'git checkout' are the same in the sense that I go back to a specific commit. What's the difference between the two? I'm a little bit confused, as the svn only has 'svn co' to revert the commit.



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails