Re: How to create a branch without any links to the others branches
- Date: Fri, 29 Aug 2008 11:27:02 +0200
- From: "Alex Riesen" <raa.lkml@xxxxxxxxx>
- Subject: Re: How to create a branch without any links to the others branches
2008/8/29 Francis Moreau <francis.moro@xxxxxxxxx>:
>
> The only solution I'm seeing is to create a new repository with these
> 'unrelated' branches and pull them from the other repository.
>
> Is this correct ?
>
Almost:
$ rm .git/HEAD
$ echo ref: refs/heads/NEW-BRANCH-NAME > .git/HEAD
$ git commit
--
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