git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bill lam <cbill.lam@gmail.com>
To: Boaz Harrosh <bharrosh@panasas.com>
Cc: git <git@vger.kernel.org>
Subject: Re: how to git a read only directory
Date: Wed, 21 Jan 2009 23:52:56 +0800	[thread overview]
Message-ID: <20090121155256.GB6966@b2j> (raw)
In-Reply-To: <4977164B.4020706@panasas.com>

On Wed, 21 Jan 2009, Boaz Harrosh wrote:
> I created a master project folder under ~home, init a new git repo,
> then symlink /etc/ onto an etc/ in the project dir, added all etc/
> files. I like the extra a/etc/fstab in the patch files better then
> a/fstab.

I create a symlink in ~/gitrepo/etc to /etc and git init an empty repo
there. However it failed in symlink when I tried to add files.  Could
you give more detail how to do it?  Meanwhile I use worktree method as
suggested by Michael.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩205 元稹  遣悲懷三首之一
    謝公最小偏憐女  自嫁黔婁百事乖  顧我無衣搜藎篋  泥他沽酒拔金釵
    野蔬充膳甘長藿  落葉添薪仰古槐  今日俸錢過十萬  與君營奠復營齋

  reply	other threads:[~2009-01-21 15:54 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-21  8:33 how to git a read only directory bill lam
2009-01-21  9:57 ` Michael J Gruber
2009-01-21 15:48   ` bill lam
2009-01-21 12:34 ` Boaz Harrosh
2009-01-21 15:52   ` bill lam [this message]
2009-01-21 16:46     ` Boaz Harrosh
2009-01-22 10:00       ` bill lam
2009-01-22 10:19         ` Boaz Harrosh
2009-01-22 10:29           ` bill lam
2009-01-22 12:35             ` Boaz Harrosh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090121155256.GB6966@b2j \
    --to=cbill.lam@gmail.com \
    --cc=bharrosh@panasas.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).