On Thursday, December 20, 2012 7:48:08 AM UTC+1, k-joseph wrote:

> Hi, every one, i have just began using using git and do request for your 
> assistance, i want to delete a remote branch, i have already deleted it 
> locally, but am getting an error , and the branch still exisits on my 
> github account: this is the error: 
> $ git push origin :TRUNK-3814
> Enter passphrase for key '/c/Users/kaweesi joseph/.ssh/id_rsa':
> remote: error: refusing to delete the current branch: refs/heads/TRUNK-3814
> To g...@github.com:k-joseph/openmrs-core.git
>  ! [remote rejected] TRUNK-3814 (deletion of the current branch prohibited)
> error: failed to push some refs to 
> 'g...@github.com:k-joseph/openmrs-core.git'
Maybe the branch is configured to be the default branch of the repository 
in Github? Have a look 
under https://github.com/k-joseph/openmrs-core/settings - and see if 
TRUNK-3814 is the default branch (hint: it is), and switch to something 
else, like master.


Reply via email to