Thread (7 messages) flat view 7 messages, 3 authors, 2016-06-15

Re: How to create a branch without any links to the others branches

From: Alex Riesen <hidden>
Date: 2016-06-15 22:45:15

2008/8/29 Francis Moreau [off-list ref]:
On Fri, Aug 29, 2008 at 11:27 AM, Alex Riesen [off-list ref] wrote:
quoted
$ 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>
Dunno. I never needed that explicitly. What do you want to do with it?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help