On 07/30/2012 05:26 AM, Nix wrote:
Uh, not only did it work, it told you it worked. You
can check out*any*
commit at all as a new branch, including commits referenced by refs such
as branches or tags. But if you check out a tag without creating a new
branch off of it, git will warn you, as above, that if you commit at
this point and then switch away, your commit is pointed to by nothing
and thus will eventually be lost (not at once -- the reflog will point
to it for a while, but reflogs are routinely expired by automated 'git
gc' runs, so your commit will eventually vanish).
(This state is called 'detached HEAD', because HEAD (which always points
to your current checkout) is not pointing to the same place as the head
of any branch, thus 'detached' from all branches.)
OK,
I think I got it! So I need to create the local branch v3.5.13-sru and then
checkout 3.5.13 into that. (or whatever new name I dream up for the branch :)
I'll mess with it some more. Thanks Nix!
--
David C. Rankin, J.D.,P.E.