On Tue, Mar 11, 2008 at 01:52:00PM +0100, Johannes Schindelin wrote: > Hi, > > On Tue, 11 Mar 2008, Luciano Rocha wrote: > > > I'd like to create a new branch, without any pre-existing data, for > > purposes similar to git's html/man/..... > > If there is nothing to branch from, there is nothing to branch from. > > You might want to rename your branch (once you have something). > > But then, I do not even understand why you bother. You can always push to > a branch of a different name, and have your principal branch being > "master" locally. It's not a matter of pushing/pulling. I'm referring to local branches only. What I'd like to have is, using util-linux-ng as an example: branch master: util-linux-ng plus local patches branch vendor: util-linux-ng upstream branch metadata: information on util-linux-ng, how to compile, dependencies, etc. I'd have no problems with the first branches. But when I wanted to create the third, that shares no files with the others, I stumbled with the problem of creating a clean branch. I really didn't want to create a branch them do "git rm .". Johannes's tricks did the thing. Thank you all. Regards, Luciano Rocha -- Luciano Rocha <luciano@xxxxxxxxxxx> Eurotux Informática, S.A. <http://www.eurotux.com/>
Attachment:
pgpSDfiMzXgrb.pgp
Description: PGP signature