git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* remote does not support deleting refs
@ 2008-07-05 21:22 Martin
  2008-07-06  0:20 ` error: unlink(.git/refs/remotes/origin/testbranch) failed: was " Martin
  2008-07-06 13:29 ` Dmitry Potapov
  0 siblings, 2 replies; 6+ messages in thread
From: Martin @ 2008-07-05 21:22 UTC (permalink / raw)
  To: git

Hi,

I tried to setup a central git repository. Access is via ssh.
How do I delete a remote branch? If I try it using
 > git branch -d -r origin/testbranch
 > git push origin :refs/heads/testbranch
I get the error

To ssh://myserver.com/my/path/to/repository
  ! [rejected]        testbranch (remote does not support deleting refs)
error: failed to push some refs to 
'ssh://myserver.com/my/path/to/repository'

So how do I setup my remote repository to allow deleting remote branches?

Thanks,
Martin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-07-08 20:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-05 21:22 remote does not support deleting refs Martin
2008-07-06  0:20 ` error: unlink(.git/refs/remotes/origin/testbranch) failed: was " Martin
2008-07-06 18:34   ` Dmitry Potapov
2008-07-08  4:08     ` Jeff King
2008-07-08 20:04       ` Junio C Hamano
2008-07-06 13:29 ` Dmitry Potapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).