Re: [git-users] Re: git checkout . overwrites all my changes

2012-07-12 Thread Serge Matveenko
On Thu, Jul 12, 2012 at 6:32 PM, Thomas Ferris Nicolaisen tfn...@gmail.com wrote: In essence, checkout is the equivalent of what some other systems call revert, and you have to get used to treating it with respect (as with any git command). IMHO, it looks more like switch usually. -- Serge

Re: [git-users] Re: git checkout . overwrites all my changes

2012-07-12 Thread Konstantin Khomoutov
On Thu, 12 Jul 2012 18:36:48 +0400 Serge Matveenko se...@matveenko.ru wrote: In essence, checkout is the equivalent of what some other systems call revert, and you have to get used to treating it with respect (as with any git command). IMHO, it looks more like switch usually. I wonder

Re: [git-users] Re: git checkout . overwrites all my changes

2012-07-12 Thread Thomas Ferris Nicolaisen
On Thursday, July 12, 2012 5:27:59 PM UTC+2, Peter J Weisberg wrote: The first one works like 'svn revert'; the second one works like 'svn switch'. Hence, checkout works like switch usually (for certain values of usually, dependent on your usage patterns). I haven't looked at Git's