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

Re: Are "private blobs/trees" possible?

From
Drew Northup <drew.northup@maine.edu>
Date
Oct 25, 2010, 20:10 UTC
Message-ID
<1288037406.819.93.camel@drew-northup.unet.maine.edu>
In-Reply-To
<AANLkTimQ7Z9Cd2yKw5jFD6UBzFRBZk_-SpC7jc6+JACw@mail.gmail.com>
On Mon, 2010-10-25 at 15:19 -0400, Kynn Jones wrote:
Show 12 quoted lines
> 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!

There is no restriction that you only have one git repository on any given machine.... Set up your symlink to those files in their own git repository.

-- 
-Drew Northup N1XIM
   AKA RvnPhnx on OPN
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59
Previous: Kynn JonesNext: Seth Robertson
Message 2 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.