From: Boaz Harrosh <bharrosh@panasas•com>
To: git <git@vger•kernel.org>
Subject: Re: how to git a read only directory
Date: Wed, 21 Jan 2009 14:34:19 +0200 [thread overview]
Message-ID: <4977164B.4020706@panasas.com> (raw)
In-Reply-To: <20090121083354.GG6970@b2j>
bill lam wrote:
> I want to use git to keep track of files inside /etc but do not want
> to do it as a super user. Is that possible to put GIT_DIR under my
> home directory and add public-read files inside /etc? Or that it could
> be done in some other ways.
>
> Thanks.
>
I did the really easy hack (on my /etc BTW) and it worked fine for me.
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.
And it is a life saver, payed it's effortless in gold. Some shining
new distro should come up with a git based management system
and it will leave all the other distros in the dust.
Cheers
Boaz
next prev parent reply other threads:[~2009-01-21 12:35 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 [this message]
2009-01-21 15:52 ` bill lam
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=4977164B.4020706@panasas.com \
--to=bharrosh@panasas$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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