So I have this involved project that started off as a master branch.
The master branch has continue to grow over these last few months, and
at several points along the way, I've created client specific branches
off master, to introduce some client specific behavior.

Now, my boss tells me he no longer wants all the client specific stuff
in the same repo as the main branch. He wants a separate repo for each
one, and each repo should end up with just one branch named master.

I am not totally sure how to approach this problem.

I did a little testing whereby a setup a bare repo on my machine and
added an origin to my source repo to point to this bare repo. Then I
checked out some branch on my source repo, say "desiredbranch" tried
to do a "push neworigin desiredbranch".

The push worked fine but then when I cloned this newly populated bare
repo (to see how a working repo would look like, based in the newly
populated bare repo) I I got this message:

warning: remote HEAD refers to nonexistent ref, unable to checkout.

So apparently I'm on the wrong track here..

Any pointers in the right direction would be greatly appreciated!


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to