Maintaining a repository with symlinks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]