Re: How to create a branch without any links to the others branches
- Date: Fri, 29 Aug 2008 11:37:08 +0200
- From: "Francis Moreau" <francis.moro@xxxxxxxxx>
- Subject: Re: How to create a branch without any links to the others branches
On Fri, Aug 29, 2008 at 11:27 AM, Alex Riesen <raa.lkml@xxxxxxxxx> wrote:
>
> $ rm .git/HEAD
> $ echo ref: refs/heads/NEW-BRANCH-NAME > .git/HEAD
> $ git commit
>
well, it looks pretty git internal hack thing to me.
Shouldn't we add a new option to git-branch to do that, like:
$ git branch --detach <new-branch>
?
--
Francis
--
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
- Follow-Ups:
- Re: How to create a branch without any links to the others branches
- From: Nguyen Thai Ngoc Duy
- Re: How to create a branch without any links to the others branches
- From: Alex Riesen
- Re: How to create a branch without any links to the others branches
- References:
- How to create a branch without any links to the others branches
- From: Francis Moreau
- Re: How to create a branch without any links to the others branches
- From: Alex Riesen
- How to create a branch without any links to the others branches
- Prev by Date: Re: [kernel.org users] [RFD] On deprecating "git-foo" for builtins
- Next by Date: Re: How to create a branch without any links to the others branches
- Previous by thread: Re: How to create a branch without any links to the others branches
- Next by thread: Re: How to create a branch without any links to the others branches
- Index(es):