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

git add "This file is for the blah class"

From
TtheProphet <dreamingforward-re5jqeeqqe8avxtiumwx3w@public.gmane.org>
Date
Aug 19, 2012, 18:45 UTC
Message-ID
<e0c6edc0-9ff5-491e-9e74-d91cd1330f47@googlegroups.com>

I'm finding it annoying when browsing repositories at github and such that the description on every file and directory is only the last commit message given for that file.

I think it would be much more organizationally useful if the "git add" command accepted a message that will be associated with that file that describes its purpose. A file name just isn't adequate to do the job and there's nowhere else where this is tracked.

Thanks guys!

mark github/Social-Garden.

-- 
You received this message because you are subscribed to the Google Groups "Git for human beings" group.
To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/z8QL0uzNBCIJ.
To post to this group, send email to git-users-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to git-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Next: Mark Adam
Message 1 of 2 in “git add "This file is for the blah class"”
  1. theProphetAug 19, 2012
  2. Mark AdamAug 19, 2012

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.