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

Re: [PATCH v2] ls-remote: print URL when no repo is specified

From
GBGeert Bosch <bosch@adacore.com>
Date
May 16, 2010, 02:14 UTC
Message-ID
<C21B68F7-E430-4BCA-A1D1-80446B0B76DE@adacore.com>
In-Reply-To
<AANLkTinxm8hwX53LE9_7rDPoKs9UnGAyFFfVcoh-WGxE@mail.gmail.com>
On May 13, 2010, at 23:07, Tay Ray Chuan wrote:
Show 8 quoted lines
>> When an end user does not know which remote ls-remote would be talking to
>> by default, what else does he *not* know?  Probably which remote "pull"
>> would be fetching from and what branch it would be merging with?  Doesn't
>> he have a better command to use to learn that information to reorient
>> himself when he is lost that way?
> 
> I'm not sure if there's a command to determine the remote - I'd be
> interested to know it, if there's one.

What git seems to be missing is a "git info" command, which would print out essentially something like what "svn info" does: name of remote repo that we're tracking, name of current branch, date/author/subject of last commit.

Regards,
  -Geert
Previous: Junio C HamanoNext: Sverre Rabbelier
Message 10 of 12 in “ls-remote: print URL when no repo is specified”
  1. ls-remote: print URL when no repo is specifiedTay Ray Chuan, May 9, 2010
  2. Jonathan NiederMay 9, 2010
  3. ls-remote: print URL when no repo is specifiedTay Ray Chuan, May 11, 2010
  4. Junio C HamanoMay 12, 2010
  5. Tay Ray ChuanMay 14, 2010
  6. Jonathan NiederMay 14, 2010
  7. Tay Ray ChuanMay 15, 2010
  8. Jonathan NiederMay 15, 2010
  9. Junio C HamanoMay 20, 2010
  10. Geert BoschMay 16, 2010
  11. Sverre RabbelierMay 16, 2010
  12. Geert BoschMay 16, 2010

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.