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

wishlist: git info

From
TNThomas Neumann <tneumann@users.sourceforge.net>
Date
Nov 12, 2007, 20:30 UTC
Message-ID
<fhad5q$iia$1@ger.gmane.org>
Hi,

while git is pleasant to use in everyday work, there is one svn feature which is miss dearly, namely "svn info". svn info can give information about specific file objects, but I think its main feature is to use it without any path and thus just describe the current project. I use this a lot to quickly find out to which remote repository the current directory belongs (yes, some work projects tend to look very similar...) and what is the current state of the directory.

As a crude approximation, "git info" should print something like: cat .git/config | grep url git show | head -3

Probably not the most intelligent way to compute it, but you get the idea. git info should give a brief overview over the current working directory. If there is consensus that this is a useful feature I can try to suggest a patch (although honestly I would prefer that someone else does it, I am not familiar with the git internals).

Thomas
Next: Alex Riesen
Message 1 of 17 in “wishlist: git info”
  1. Thomas NeumannNov 12, 2007
  2. Alex RiesenNov 12, 2007
  3. Thomas NeumannNov 12, 2007
  4. Alex RiesenNov 12, 2007
  5. Jakub NarebskiNov 12, 2007
  6. Thomas NeumannNov 13, 2007
  7. Jakub NarebskiNov 13, 2007
  8. Jakub NarebskiNov 13, 2007
  9. Johannes SchindelinNov 13, 2007
  10. Thomas NeumannNov 13, 2007
  11. Jan HudecNov 17, 2007
  12. Junio C HamanoNov 13, 2007
  13. Thomas NeumannNov 13, 2007
  14. Andreas EricssonNov 13, 2007
  15. Junio C HamanoNov 13, 2007
  16. Alex RiesenNov 13, 2007
  17. Andreas EricssonNov 13, 2007

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.