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

Re: first impressions to git

From
Junio C Hamano <junkio@cox.net>
Date
Sep 18, 2005, 17:31 UTC
Message-ID
<7vr7bm470m.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0509181201220.23242@iabervon.org>
Daniel Barkalow <barkalow@iabervon.org> writes:
> We need to fix the error for trying to add a directory, and we should 
> probably support it in "add".
Yup.
> Core git doesn't have a .git/info/excludes at all. (And, in general, 
> .gitignore makes more sense, I think, because you usually want this to be 
> version-controlled; but maybe there should be .git/info/excludes as a 
> default for new directories?)

We by default install info/excludes disabled in a new repository and 'git status' looks at it. What it _does_ not do is to use any exclude patterns by default; if info/excludes is empty (modulo '# comment' lines) it does not use .gitignore.

> ".git/remotes" is the current one; ".git/branches" is obsolete.

Perhaps deprecated but obsolete is too strong a word -- it still is supported.

Previous: Daniel BarkalowNext: Nico -telmich- Schottelius
Message 4 of 11 in “first impressions to git”
  1. Nico -telmich- SchotteliusSep 18, 2005
  2. Petr BaudisSep 18, 2005
  3. Daniel BarkalowSep 18, 2005
  4. Junio C HamanoSep 18, 2005
  5. Nico -telmich- SchotteliusSep 18, 2005
  6. Kay SieversSep 18, 2005
  7. Junio C HamanoSep 18, 2005
  8. Petr BaudisSep 18, 2005
  9. Junio C HamanoSep 18, 2005
  10. Linus TorvaldsSep 18, 2005
  11. Sven VerdoolaegeSep 19, 2005

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.