What git command should I use to be equivalent to svn checkout
?
git checkout(?)
Many thanks!
git clone
is more of an analogue to svn checkout
than git checkout
. git checkout
just checks out a branch or commit from your local repository. git clone
makes a new copy of a remote repository.