All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@freescale.com>
To: Loeliger Jon-LOELIGER <jdl@freescale.com>
Cc: git@vger.kernel.org
Subject: Re: Did I miss something? git-clone doesn't grab all branches????
Date: Fri, 30 Mar 2007 12:03:58 -0500	[thread overview]
Message-ID: <460D42FE.1080703@freescale.com> (raw)
In-Reply-To: <AF0367BA48C55940A43CCF08DF35553C0114148C@az33exm24.fsl.freescale.net>

Loeliger Jon-LOELIGER wrote:
> Timur,
> 
> You missed something. :-) You didn't read the Release
> Notes for 1.5 that I forwarded. 

I didn't get that email.  However, I did read the release notes for 1.5 on the web, and it 
didn't help.  It's as if I'm on a different planet then everyone else who uses git, and so 
no one understands what I'm trying to do.

I hate branches.  I never use them.  I create a whole new tree for each commit that I work 
on.  So I like to have a clone of all of the main external repositories on my hard drive. 
  Then I just clone these local repos into other trees on my hard drive.

In the past, my clone of paulus/powerpc.git contained everything.  Every time I did a 
git-pull, it would grab everything.  Then I could do a local clone/checkout if I ever 
wanted to work on a branch (like for-2.6.22).  I didn't have to know the names of the 
branches when I did git-clone.

Because of the changes to git-clone, this process got a whole lot more complicated.  Now I 
need to issue multiple commands for each branch.  Ugh.

 > As a start, do this:
> 
>     git branch -a

I think I figured it out, but I'm not sure it's working:

git-clone http://www.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git powerpc.git
cd powerpc.git
git-checkout origin/for-2.6.22
git-checkout -b for-2.6.22

When I do this, git-branch -l shows:

* for-2.6.22
   master

So I think I'm okay.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

  reply	other threads:[~2007-03-30 17:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-30 15:57 Did I miss something? git-clone doesn't grab all branches???? Timur Tabi
2007-03-30 16:30 ` Loeliger Jon-LOELIGER
2007-03-30 17:03   ` Timur Tabi [this message]
2007-03-31  1:30     ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=460D42FE.1080703@freescale.com \
    --to=timur@freescale.com \
    --cc=git@vger.kernel.org \
    --cc=jdl@freescale.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.