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

Alternate .gitignore

From
MMaaartin <grajcar1@seznam.cz>
Date
Oct 8, 2010, 12:31 UTC
Message-ID
<loom.20101008T141929-221@post.gmane.org>

I'm using git for a project, where I'd like to store not only the sources but some quite large generated files, too. However, I'd like to keep them separated, so my source depository doesn't grow too much. The problem could be solved nicely if there was a possibility to use .gitignore for the source tree and let say .gitignore2 for the extended tree. I'd use two depositories: .git and .git2.

The content if .gitignore2 could be a subset of the content of .gitignore, so the extended tree would contain the sources as well, which is not really a problem. Or maybe I could make the depositories disjoint, I'm not sure now.

Is something like this possible or is it too strange requirement?
Next: Ævar Arnfjörð Bjarmason
Message 1 of 4 in “Alternate .gitignore”
  1. MaaartinOct 8, 2010
  2. Ævar Arnfjörð BjarmasonOct 8, 2010
  3. MaaartinOct 8, 2010
  4. Kevin BallardOct 8, 2010

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.