LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-19-2008, 06:54 AM   #1
vkmgeek
Member
 
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
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....
 
Old 06-19-2008, 07:11 AM   #2
sxeraverx
LQ Newbie
 
Registered: Mar 2008
Posts: 8

Rep: Reputation: 0
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.
 
Old 06-19-2008, 09:11 AM   #3
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian jessie/sid; OpenSuSE; Fedora
Posts: 1,593

Rep: Reputation: 162Reputation: 162
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Managing branches in Git Mike_W Programming 2 01-19-2008 03:27 PM
git cvs troubles PatrickNew Linux - Software 2 01-14-2008 02:49 PM
How to edit some file through git iro_number1 Linux - Software 1 01-04-2008 07:50 AM
how do i git xp and unbuntu on my machine? madman19567 Linux - Newbie 3 12-29-2007 10:16 AM
KMail is a git acid_kewpie Linux - General 0 09-15-2001 01:13 PM


All times are GMT -5. The time now is 10:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration