git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-clone and cg-clone
@ 2006-04-06 18:10 Belmar-Letelier
  2006-04-06 22:14 ` Nicolas Vilz 'niv'
  0 siblings, 1 reply; 2+ messages in thread
From: Belmar-Letelier @ 2006-04-06 18:10 UTC (permalink / raw)
  To: git

Hello

I'm a cogito users,

Since 0.17 to take benefit of cg-switch

I use:

$ git-clone  xxx
$ cg-branch-add origin xxx

instead of

$ cg-clone xxx

becauce cg-clone did not fetch all the heads.

Is there a better way to do this ?

-- 
Luis Belmar-Letelier

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: git-clone and cg-clone
  2006-04-06 18:10 git-clone and cg-clone Belmar-Letelier
@ 2006-04-06 22:14 ` Nicolas Vilz 'niv'
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Vilz 'niv' @ 2006-04-06 22:14 UTC (permalink / raw)
  Cc: git

Belmar-Letelier wrote:
> Since 0.17 to take benefit of cg-switch
> 
> I use:
> 
> $ git-clone  xxx
> $ cg-branch-add origin xxx
> 
> instead of
> 
> $ cg-clone xxx
> 
> becauce cg-clone did not fetch all the heads.
> 
> Is there a better way to do this ?
> 

well, first I was also using cg clone... but i also realized, that there
is only one branch being pulled from the repository.

If you use git clone, then all tags and branches will be pulled... so
everytime i start using a fresh repository and start pulling origin of
it, i use git clone instead of cg-clone.

i also use git checkout instead of cg-switch... well, i think i haven't
had a use for the effekts, cg-switch does, and always wanted git
checkout... and wondered about the files, which were missing in the
index of the new branch..

i think thats the difference between porcelain and plumbing...

Sincerly
Nicolas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-04-06 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-06 18:10 git-clone and cg-clone Belmar-Letelier
2006-04-06 22:14 ` Nicolas Vilz 'niv'

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).