From: Till T. <ro...@tt...> - 2011-11-18 19:13:28
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/15/2011 10:34 PM, Simon Eugster wrote: > 2011/11/15 Albert ARIBAUD <alb...@fr...>: >> Le 15/11/2011 22:13, Till Theato a écrit : >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 >>> >>> Hi, I created a origin/master branch by accident and now I'm >>> unable to delete it. The first try gave: $ git push >>> kde:kdenlive.git :origin/master To gi...@gi...:kdenlive.git >>> - [deleted] origin/master >>> >>> The branch still exists but attempts to delete return: error: >>> unable to push to unqualified destination: origin/master The >>> destination refspec neither matches an existing ref on the >>> remote nor begins with refs/, and we are unable to guess a >>> prefix based on the source ref. error: failed to push some >>> refs to 'gi...@gi...:kdenlive.git' >>> >>> Any ideas? Looks like there was a delay between the push and the pull part (including http://quickgit.kde.org) >> >> Are you sure the branch still exists at the remote server? I >> think it actually only exist in your local copy of it. I did the following: - - git push kde:kdenlive.git master:origin/master -> 'origin/master' created on remote; does not exist locally - - git push kde:kdenlive.git :origin/master -> 'origin/master' deleted from remote - - Then I checked quickgit.kde.org but 'origin/master' still existed - - git push kde:kdenlive.git :origin/master -> fails, tells that 'origin/master' does not exist - - git pull kde:kdenlive.git -> creates 'origin/master' locally => wtf? >> >> Amicalement, -- Albert. > > (Branches need to be pushed explicitly.) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7GrksACgkQzwEyz7QP6nSIMwCfSD4ZG98sD3p501bvZfMr+y4T ZJcAmwRIFXlEveQR3VigiriFUDcJ1L86 =3Gn2 -----END PGP SIGNATURE----- |