From: Robert Munteanu <robert.munteanu@gmail.com>
To: git@vger.kernel.org
Subject: Maintaining a repository with symlinks
Date: Fri, 8 May 2009 14:00:00 +0300 [thread overview]
Message-ID: <e60f3a6e0905080400u3bc8d29ewdf6481dc135e17d0@mail.gmail.com> (raw)
Hi,
I'm trying to build a repository of the system configuration files in
/etc. Named is installed in a chroot jail in
/var/named/chroot/var/named/data . I'm interested in getting both the
regular etc files and the named ones in the same repository since I
use branches to stage changes and it makes life easier when adding an
apache virtual host and a name server entry at the same time.
I've tried unifying the directory structure by symlinking them, but
git refuses to add that path:
[root@ns1 etc]# ln -s /var/named/chroot/var/named/ named-chroot
[root@ns1 etc]# git add named-chroot/*
fatal: 'named-chroot/xxx.xxx' is beyond a symbolic link
I've googled for 'git symlink' but I found no relevant information.
Is there another way of joining these directories into one repository?
Thanks,
Robert
reply other threads:[~2009-05-08 11:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=e60f3a6e0905080400u3bc8d29ewdf6481dc135e17d0@mail.gmail.com \
--to=robert.munteanu@gmail.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).