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