All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin <html-kurs@gmx.de>
To: git@vger.kernel.org
Subject: remote does not support deleting refs
Date: Sat, 05 Jul 2008 23:22:10 +0200	[thread overview]
Message-ID: <486FE602.3060301@gmx.de> (raw)

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

             reply	other threads:[~2008-07-05 21:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-05 21:22 Martin [this message]
2008-07-06  0:20 ` error: unlink(.git/refs/remotes/origin/testbranch) failed: was remote does not support deleting refs 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=486FE602.3060301@gmx.de \
    --to=html-kurs@gmx.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.