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

Re: Consensus on "Git"

From
Jeff King <peff@peff.net>
Date
Nov 11, 2009, 09:27 UTC
Message-ID
<20091111092731.GA17422@sigill.intra.peff.net>
In-Reply-To
<7v8wedv3a3.fsf@alter.siamese.dyndns.org>
On Wed, Nov 11, 2009 at 01:06:44AM -0800, Junio C Hamano wrote:
Show 11 quoted lines
> > Is there consensus on "Git" being the standard capitalisation, versus
> > "GIT"?
> 
> I am not a consensus, but from day 1, Linus talked about "git" (all
> lowercase) and "Git" was used only when it came at the beginning of a
> sentence (an usual English capitalization rule) or in a section or book
> title where all words (except prepositions such as "in", "on") are
> capitalized, and I try to mimick it myself for consistency.
> 
> As a corollary, unless I spell all the other words in capital to SHOUT, I
> never write GIT.

Except for the title of every set of release notes, which all start with:

  GIT vX.Y.Z Release Notes
? :)

For a fun (ab)use of blame, you can see who wrote each of David's suspect lines with:

   git grep -n "\bGIT\b" |
   while IFS=: read file line junk; do
     git blame -f -L $line,$line $file
   done |
   less

Many of them are variables (e.g., \b gets rid of "_", but we still have "-", so GIT-VERSION and such are still there). Many others are the title of the "GIT" section of the manpages. But there are some legitimate uses, too. Many of them blame to quite a long time ago, though (e.g., Documentation/everyday.txt has two uses by you in 2005).

-Peff
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 of 10 in “Consensus on "Git"”
  1. David SymondsNov 11, 2009
  2. Sverre RabbelierNov 11, 2009
  3. Junio C HamanoNov 11, 2009
  4. Jeff KingNov 11, 2009
  5. Junio C HamanoNov 11, 2009
  6. Jeff KingNov 11, 2009
  7. Reece DunnNov 11, 2009
  8. Johannes SchindelinNov 11, 2009
  9. Teemu LikonenNov 11, 2009
  10. Michael J GruberNov 11, 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.