Hi,
[please do not top post]
On Sun, Jul 06, 2008 at 02:20:18AM +0200, Martin wrote:
_
But I get another error:
$ git push origin :testbranch
To ssh://myserver.com/my/path/to/repository
- [deleted] testbranch
error: unlink(.git/refs/remotes/origin/testbranch) failed: No such file_
or directory
error: Failed to delete
_
Any idea?
It is harmless. It is just that "git push origin :refs/heads/testbranch"
cannot remove your local reference to that branch because you already have
removed it by running "git branch -d -r origin/testbranch"
Normally you just run "git push origin :refs/heads/testbranch" without
"git branch -d -r origin/testbranch" and then you will not have this error.
Dmitry