Which git command should be used for svn checkout equivalent?
svn checkout
git checkout(?)
Many thanks!
This is exactly what I wanted:
IOS
$ svn checkout svn://foo.googlecode.com/svn/trunk foo # make your changes $ svn commit -m "my first commit"
Git
$ git clone git@github.com :pjhyett/foo.git # make your changes $ git commit -a -m "my first commit" $ git push
from Git for Beginners: The Ultimate Practical Guide
git clone is more like an svn checkout than git checkout . git checkout just checks the branch or commit from your local repository. git clone creates a new copy of the remote repository.
git clone
git checkout