Re: git branch --switch?
- From
Randal L. Schwartz <merlyn@stonehenge.com>
- Date
- Apr 17, 2007, 16:50 UTC
- Message-ID
- <86y7kr0wst.fsf@blue.stonehenge.com>
- In-Reply-To
- <4624F18F.6070906@gmail.com>
>>>>> "Rene" == Rene Herman <rene.herman@gmail.com> writes:
Rene> Well, yes, they do, and I could also do
Rene> git branch b v2.6.20 Rene> git branch c v2.6.20
Rene> directly then (right?) but I do want that "v20" branch in the middle.
What does "in the middle" mean here?
If I set:
b = a; c = a;
That's the same as if I said:
b = a; c = b;
Why do you think those would be different? There's nothing recorded when you say "git branch X Y" except to make a new X that's a copy of the SHA1 of the old Y.
-- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!