LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   git (https://www.linuxquestions.org/questions/linux-newbie-8/git-650289/)

vkmgeek 06-19-2008 06:54 AM

git
 
Hi,
I am (unfortunately) unable to understand the difference between git-clone and git-checkout

man page says git-clone will clone the repository and git-checkout will check out the branch of a tree...

But this doesnt tell me anything..

Please shed some light....

sxeraverx 06-19-2008 07:11 AM

I'm not too sure about this, but git-clone will clone the entire repository. With git, there is no one separate repository, but each user has his own. Within that repository, you can create your own branches, etc., and migrate between them with git-checkout.

AwesomeMachine 06-19-2008 09:11 AM

After a repository is cloned with git clone git://<repository>, you need to checkout before you can use git-pull to pull just the changes in the repository.


All times are GMT -5. The time now is 09:10 AM.