[git-users] Re: Git Revert, Checkout and Reset for Dummies

2011-12-05 Thread Lars Pensjö
There are some excellent explanations above. But still, I would like to recommend: http://progit.org/2011/07/11/reset.html. If you give it your time, you will understand quite well how and why it works the way it works. -- You received this message because you are subscribed to the Google

[git-users] Re: Git Revert, Checkout and Reset for Dummies

2011-12-01 Thread Thomas Ferris Nicolaisen
You're not the first one to get confused about those :) Maybe the biggest cause of confusion is that the last two (checkout reset) have two modes: Either they work on files, or they work on revisions (or references, to be concrete). I'll try giving a short, but somewhat incomplete explanation

[git-users] Re: Git Revert, Checkout and Reset for Dummies

2011-12-01 Thread Jeenu
On Dec 1, 4:02 pm, haziz hsa...@gmail.com wrote: Sorry, but this trio of git commands is taxing my intelligence. Can you explain these commands for total newbies? What I am trying to learn is how to restore or rollback files and projects to a prior state. As I have no experience with