Re: Keeping a non-1:1 mirror in sync and keeping private branches

2017-07-16 Thread Jan Danielsson
; private ones (e.g., refs/mirror/* in addition to your branches in > refs/heads/*). The obvious downside is that anybody cloning your > downstream mirror doesn't pick up refs/mirror unless they configure > that refspec explicitly. This sounds very useful. How would one go about setting up this configuration? -- Kind regards, Jan Danielsson

Keeping a non-1:1 mirror in sync and keeping private branches

2017-07-15 Thread Jan Danielsson
tream: cd $DSTDIR git remote update --prune git push This seems to accomplish everything I want except that the the "git push" deletes any branches I have created on my self-hosted repository. Am I doing it completely wrong? If not, how do I make my branches survive the push? -- Kind regards, Jan Danielsson