Re: Why is git clone not checking out files?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday, January 30, 2007 at 11:04:57 (-0800) Linus Torvalds writes:
>...
>Of course, I do agree that it'sa fairly confusing way to set up a repo, 
>and you generally shouldn't do it, but Bill did it that way explicitly. 
>Maybe he didn't do it "on purpose", but git at no point in time had any 
>way to know that Bill wanted somethign else. Nothing he did was "wrong", 
>and it's quite possible that it's what he could have meant to do.

My setup was prompted by advice I got here.  Perhaps I misunderstood.
I thought the way to set up a shared public repo for my collaborators
was to git --bare init-db --shared, then do a git fetch from the upstream
repo.  I want to be able to push into my public repo from one or more
of my private repos, hence the need (I was told) for he bare option.

>Anyway, it's certainly easy to fix. Bill, you can either:
>
> - just rename the "topic" branch to "master"

I don't think I want this.  I want to know I'm on the topic branch of
that repo, anything else really makes me nervous.

> - change the HEAD to point to "topic" rather than "master".

Same for this...[Thanks for the advice, nevertheless.]

I wonder if the original repo I pulled from is just messed up.  Ahh --
I see Shawn just replied saying I needed to fetch in a different way.
I shall peruse that and report clarity of vision when achieved...


Bill
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]