Re: first impressions to git
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:06
Daniel Barkalow [off-list ref] 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.