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:


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)

0001-Git-Ignore-generated-files.patch (538 bytes) - added by Carlos Valiente 12 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by Carlos Valiente

comment:1 Changed 12 years ago by Carlos Valiente

Keywords: review added

Patch available

comment:2 Changed 12 years ago by Jean-Paul Calderone

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 Jean-Paul Calderone

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 Ying Li

You can create a per-user .gitignore file by first running: git config --global core.excludesfile ~/.gitignore. See:

comment:5 Changed 12 years ago by Glyph

Owner: Glyph deleted

comment:6 Changed 12 years ago by Jean-Paul Calderone

Keywords: review removed
Resolution: wontfix
Status: newclosed

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.

comment:7 Changed 11 years ago by <automation>

Note: See TracTickets for help on using tickets.