Skip to contentSkip to conversation

delete remote branch issue

U-Boot-Users Aubrey Li 2 participants 3 messages Mar 22, 2007 – Mar 23, 2007

lore
Share & tools
lore

Aubrey Li

author
#0 lore raw

Dear Wolfgang,

I've created a branch named "blackfin" on my git tree for test. But now it's not useful for me anymore, so I want to delete it. But I got the following error on my side.
-------------------
aubrey at ubuntu-feisty:~/upstream-uboot/u-boot-blackfin$ git-push git+ssh://gu-blackfin at www.denx.de/u-boot-blackfin :blackfin
error: src refspec does not match any.
fatal: unexpected EOF
-------------------

And I got the following info from git v1.5.0 release notes

- git-push can now be used to delete a remote branch or a tag. This requires the updated git on the remote side (use "git push <remote> :refs/heads/<branch>" to delete "branch").

What did I miss or the git on the server need to be updated?

Best Regards,
-Aubrey

#1 lore raw
Quoted 6 lines · In message <[email protected]> you…

And I got the following info from git v1.5.0 release notes

- git-push can now be used to delete a remote branch or a tag. This requires the updated git on the remote side (use "git push <remote> :refs/heads/<branch>" to delete "branch").

Ah, using bleading edge stuff again ;-)

Quoted 1 line

What did I miss or the git on the server need to be updated?

We're running git version 1.4.4.4 on our server.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office:  Kirchenstr. 5,       D-82194 Groebenzell,            Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Everyting looks interesting until you do it. Then you find it's  just
another job.                     - Terry Pratchett, _Moving Pictures_
author
#2 lore raw
Quoted 8 lines · Wolfgang Denk
Quoted 6 lines · In message <[email protected]> you…

And I got the following info from git v1.5.0 release notes

- git-push can now be used to delete a remote branch or a tag. This requires the updated git on the remote side (use "git push <remote> :refs/heads/<branch>" to delete "branch").

Quoted 6 lines

Ah, using bleading edge stuff again ;-)

Quoted 1 line

What did I miss or the git on the server need to be updated?

We're running git version 1.4.4.4 on our server.

Please let me know when server git upgrade, thanks, :)

Best Regards,
-Aubrey