> "git checkout" is not the same as "svn revert"

If you have edited a file then doing

    git checkout <file>

restores its contents to those in the repo. So isn't that a "revert"?

- Gordon

-----Original Message-----
From: Justin Mclean [mailto:jus...@classsoftware.com] 
Sent: Tuesday, March 19, 2013 8:59 PM
To: dev@flex.apache.org
Subject: Re: Git basics for SVN users

Hi,

> Here is an excellent primer comparing the commands available in Git 
> for their equivalent SVN functionalities.
> 
> http://git.or.cz/course/svn.html

Just a warning what it has under revert is incorrect! "git checkout" is not the 
same as "svn revert".

Justin


Reply via email to