git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Shawn O. Pearce" <spearce@spearce.org>
To: Bill Lear <rael@zopyra.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Jakub Narebski <jnareb@gmail.com>,
	git@vger.kernel.org
Subject: Re: Why is git clone not checking out files?
Date: Tue, 30 Jan 2007 14:09:07 -0500	[thread overview]
Message-ID: <20070130190907.GE26415@spearce.org> (raw)
In-Reply-To: <17855.38543.761930.929267@lisa.zopyra.com>

Bill Lear <rael@zopyra.com> wrote:
> % cd /repos/git/project
> % GIT_DIR=. git branch
>   topic
> 
> And then, tried it all again:
> 
> % cd ..
> % rm -rf project
> % mkdir project
> % cd project
> % git --bare clone --shared
> % GIT_DIR=. git fetch git://source/public/project

You did not ask for a tracking branch to be created.  So the
result of your fetch is in FETCH_HEAD only.  Try instead:

GIT_DIR=. git fetch git://source/public/project topic:refs/heads/master

-- 
Shawn.

  reply	other threads:[~2007-01-30 19:09 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30 18:05 Why is git clone not checking out files? Bill Lear
2007-01-30 18:15 ` Jakub Narebski
2007-01-30 18:18   ` Bill Lear
2007-01-30 18:22     ` Shawn O. Pearce
2007-01-30 18:29       ` Bill Lear
2007-01-30 18:41         ` Linus Torvalds
2007-01-30 18:49           ` Jakub Narebski
2007-01-30 19:04             ` Linus Torvalds
2007-01-30 19:11               ` Bill Lear
2007-01-30 19:15                 ` Johannes Schindelin
2007-01-30 19:36                   ` Bill Lear
2007-01-30 19:43                     ` Bill Lear
2007-01-30 19:54                       ` Bill Lear
2007-01-30 20:38                     ` Bill Lear
2007-01-30 19:18               ` Jakub Narebski
2007-01-31  9:56             ` Jakub Narebski
2007-01-30 19:03           ` Bill Lear
2007-01-30 19:09             ` Shawn O. Pearce [this message]
2007-01-30 19:17               ` Jakub Narebski
2007-01-30 19:27               ` Bill Lear
2007-01-30 19:33             ` Linus Torvalds
2007-01-30 20:00               ` Linus Torvalds

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=20070130190907.GE26415@spearce.org \
    --to=spearce@spearce.org \
    --cc=git@vger.kernel.org \
    --cc=jnareb@gmail.com \
    --cc=rael@zopyra.com \
    --cc=torvalds@linux-foundation.org \
    /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 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).