git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: "jonsmirl\@gmail.com" <jonsmirl@gmail.com>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: How do I delete a remote branch with a period in the name?
Date: Tue, 03 Jul 2012 12:39:45 -0700	[thread overview]
Message-ID: <7vehosvdku.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: <m23959e0qp.fsf@igel.home> (Andreas Schwab's message of "Tue, 03 Jul 2012 09:56:46 +0200")

Andreas Schwab <schwab@linux-m68k.org> writes:

> "jonsmirl@gmail.com" <jonsmirl@gmail.com> writes:
>
>> jonsmirl@smirl2:/home/apps/florida/lpc31xx$ git push origin :fl.stg
>> error: unable to push to unqualified destination: fl.stg
>> 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 'git@github.com:jonsmirl/lpc31xx.git'
>> jonsmirl@smirl2:/home/apps/florida/lpc31xx$
>>
>> jonsmirl@smirl2:/home/apps/florida/lpc31xx$ git branch -r
>>   linus/master
>>   origin/HEAD -> origin/master
>>   origin/bar.stgit
>>   origin/dt-test
>>   origin/fl.stgit
>>   origin/foo.stgit
>>   origin/lpc313x-stg
>>   origin/lpc313x-stg.stgit
>>   origin/master
>>   origin/master.stgit
>>   origin/temp.stgit
>>   origin/v3.4-stg
>>   origin/v3.4-stg.stgit
>>   origin/v3.5-stg
>>   origin/v3.5-stg.stgit
>
> There doesn't appear to be a remote branch with that name.

More importantly, there was nothing in Jon's message to convince us
that "branch -r" outputis telling us the current state of the
remote.  Showing "ls-remote" output would have been better.

      reply	other threads:[~2012-07-03 19:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-03  3:09 How do I delete a remote branch with a period in the name? jonsmirl
2012-07-03  4:14 ` Junio C Hamano
2012-07-03 11:42   ` jonsmirl
2012-07-03 18:04     ` [PATCH] push: don't guess at qualifying remote refs on deletion Jeff King
2012-07-03 18:34       ` jonsmirl
2012-07-03 18:40         ` Jeff King
2012-07-03 18:43           ` jonsmirl
2012-07-03 19:35             ` Jeff King
2012-07-04  7:21           ` Carlos Martín Nieto
     [not found]             ` <CABURp0rVPAvxP1sp_nmoNYd+F+OsvWeHgUAeo7-VTnQhdebFeg@mail.gmail.com>
2012-07-05  7:22               ` Carlos Martín Nieto
2012-07-05 15:32                 ` Phil Hord
2012-07-05 17:24                   ` Carlos Martín Nieto
2012-07-05 17:26                   ` Junio C Hamano
2012-07-03 19:38       ` Junio C Hamano
2012-07-04  7:37         ` Jeff King
2012-07-03  7:56 ` How do I delete a remote branch with a period in the name? Andreas Schwab
2012-07-03 19:39   ` Junio C Hamano [this message]

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=7vehosvdku.fsf@alter.siamese.dyndns.org \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=jonsmirl@gmail.com \
    --cc=schwab@linux-m68k.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 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).