Re: [git-users] Re: Problem with "git checkout --orphan"

2013-06-07 Thread Dale R. Worley
> From: Thomas Ferris Nicolaisen > > Repos (or branches) without history are funny places where a lot of > operations make less or more sense. The place to address this is the Git > developer mailing list, but the use-case does sound a bit, well, pointless. It's true that it's not very import

Re: [git-users] Re: Problem with "git checkout --orphan"

2013-06-06 Thread John McKown
What I did, when I wanted to "initialize" some more-or-less empty branches was to have a single file in all of them. Called, cleverly, branch git init echo 'master' >branch git add . git commit -m 'master' git checkout --orphan b2 echo 'b2' >branch git add . git commit -m 'b2' # and so on And, if