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

Are "private blobs/trees" possible?

From
KJKynn Jones <kynnjo@gmail.com>
Date
Oct 25, 2010, 19:19 UTC
Message-ID
<AANLkTimQ7Z9Cd2yKw5jFD6UBzFRBZk_-SpC7jc6+JACw@mail.gmail.com>

There are some files that I want to keep under local git control, but never push to any remote repositories.

What's the best way to implement this idea with git?

The best solution I can think of is to put these files in some git-controlled directory that is not below the "main" working directory, and have an (ignored) symlink to it in this working directory.

Is there a better way?
TIA!
~kj
Next: Drew Northup
Message 1 of 4 in “Are "private blobs/trees" possible?”
  1. Kynn JonesOct 25, 2010
  2. Drew NorthupOct 25, 2010
  3. Seth RobertsonOct 25, 2010
  4. Kynn JonesOct 26, 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.