Re: How do I delete a remote branch with a period in the name?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 3, 2012, 04:14 UTC
- Message-ID
- <7vsjd9wkek.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAKON4OwnUKQ6MT8HBNDyfhZLZS5xGKA2Ss1krY9OQGG1gaFhDw@mail.gmail.com>
"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.
The message seems to be saying that fl.stg is not specific enough perhaps? What does "git ls-remote origin | grep fl.stg" say? If it says refs/smirl/fl.stg, for example, you can be specific as the message suggests, e.g. "git push origin :refs/smirl/fl.stg" or something like that?