Opened 12 years ago
Closed 12 years ago
#4524 enhancement closed wontfix (wontfix)
Git: Ignore generated files and directories
Reported by: | Carlos Valiente | Owned by: | |
---|---|---|---|
Priority: | lowest | Milestone: | |
Component: | core | Keywords: | |
Cc: | Branch: | ||
Author: |
Description
It would be nice to add a .gitignore
file at the top-level directory, so that generated files and directories like /build/
, MANIFEST
and all the *.pyc
do not appear in the output of git status
.
Attachments (1)
Change History (8)
Changed 12 years ago by
Attachment: | 0001-Git-Ignore-generated-files.patch added |
---|
comment:1 Changed 12 years ago by
Keywords: | review added |
---|
comment:2 Changed 12 years ago by
Hmm. Considering we don't even configure svn to ignore these, I wonder if we should start configuring alternate vcs mirrors to ignore them.
comment:3 Changed 12 years ago by
To expand on my previous comment, in svn this is easily addressed on a per-user basis, in ~/.subversion/config, with skips defined to suite personal tastes. So it doesn't cause problems for people using svn. Does it cause problems for git? I don't know how ignores work in git.
comment:4 Changed 12 years ago by
You can create a per-user .gitignore file by first running: git config --global core.excludesfile ~/.gitignore
. See: http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
comment:5 Changed 12 years ago by
Owner: | Glyph deleted |
---|
comment:6 Changed 12 years ago by
Keywords: | review removed |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
Thanks cyli. I think that means we should leave this alone. I'll add a link to that page to the mirrors wiki page so people know that's what we expect them to use.
Patch available