Using git on / for configuration files

Using git on / for configuration files

Amos Shapira amos.shapira at gmail.com
Sat Jun 9 08:46:37 IDT 2012


What about linking the none-/etc directories as git submodules? Would that
help?

(I'm still 100 pages from the end of Pro Git and just read about submodules
last night).
On Jun 9, 2012 2:13 AM, "Oron Peled" <oron at actcom.co.il> wrote:

> On Friday, 8 בJune 2012 12:24:55 Eli Billauer wrote:
> >   <blockquote type="cite">
> >     <pre wrap="">What I liked less, is that the repository is under /etc
> (not surprising, and
> > still), so configuration files outside that directory can't be
> > tracked. /var/lib/tftpboot/pxelinux.cfg/, for example.
> >     </pre>
> >   </blockquote>
> >   <pre wrap="">
> [ Replying to HTML mail... thanks, Eli you deserve it :-( ]
>
> If you only want to follow a couple of directories/files you can
> bind-mount them to something under /etc and solve the problem.
>
> Cheers,
>
> --
> Oron Peled                                 Voice: +972-4-8228492
> oron at actcom.co.il                  http://users.actcom.co.il/~oron
> Some people claim that the UNIX learning curve is steep, but at least
> you only have to climb it once
>
> _______________________________________________
> Linux-il mailing list
> Linux-il at cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20120609/1d194125/attachment.html>


More information about the Linux-il mailing list