Using symbolic links with git
Posted
by
Alfredo Palhares
on Server Fault
See other posts from Server Fault
or by Alfredo Palhares
Published on 2010-09-13T13:15:49Z
Indexed on
2012/10/17
23:04 UTC
Read the original article
Hit count: 315
I used to have my system configuration files all in one directory for better management but now i need to use some version control on it.
But the problem is that git doesn't understand symbolic links that point to outside of the repository, and i can't invert the role ( having the real files on the repository and the symbolic links on their proper path ) since some files are read before the kernel loads.
I think that I can use unison to sync the files in the repo and and the their paths, but it's just not practical. And hard links will probably be broken. Any idea ?
© Server Fault or respective owner