Git Migration: github with svn access

Yawar Amin yawar.amin at
Fri Nov 11 19:00:08 EST 2011

Hi Geert, run:

git push origin :master

This pushes an empty branch name (the part before the colon) from your local repo to the master branch of the origin repo, effectively deleting it.



Geert Janssens <janssens-geert at> wrote:

>On vrijdag 11 november 2011, Yawar Amin wrote:
>> Hi Geert,
>> On 2011-11-11, at 11:47, Geert Janssens wrote:
>> >> […]
>> > 
>> > Is there a way to create a branch via the github interface ? Or do I have
>> > to create one on my local repo and push it ? I didn't seem to find a
>> > feature on the website, but perhaps I missed it. I'm not very
>> > comfortable yet with te remote repo handling in git, so I prefer to ask
>> > before messing things up.
>> You can do the latter.
>> # In your local repo
>> git branch master remotes/origin/trunk
>> git push origin master
>Ok, I created a master branch, but svn checkout still fails with the same 
>error. I guess we'll have to wait for github's response to John's comment on 
>the blog.
>By the way how do I remove the branch again ? I have been seaching for a way 
>to do that before, but didn't find it.

More information about the gnucash-devel mailing list