git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gti push interface inconsistency

From
Junio C Hamano <gitster@pobox.com>
Date
Oct 27, 2009, 00:08 UTC
Message-ID
<7veiopd7gs.fsf@alter.siamese.dyndns.org>
In-Reply-To
<76c5b8580910261523s51ac22b5y624ec3502e8fed67@mail.gmail.com>
Eugene Sajine <euguess@gmail.com> writes:
Show 8 quoted lines
> I have a question:
>
> Why I can't do
>
> $ git push my_tag
>
> It will fail because the remote is not specified, even if there is
> only one origin remote

Probably because git is not smart enough to understand the human language to notice 't' 'a' 'g' is a tag and cannot be a remote name spelled incorrectly, or git cannot read your mind and find out that you spelled a name of the remote correctly but forgot to add the remote first.

Previous: Eugene SajineNext: Eugene Sajine
Message 2 of 3 in “gti push interface inconsistency”
  1. Eugene SajineOct 26, 2009
  2. Junio C HamanoOct 27, 2009
  3. Eugene SajineOct 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.