Using git on / for configuration files

Using git on / for configuration files

Oleg Goldshmidt pub at goldshmidt.org
Fri Jun 8 16:04:25 IDT 2012


Eli Billauer <eli at billauer.co.il> writes:

> What git wisely does is maintaining the link's destination. So if
> you change or delete the symbolic link, you get exactly that change
> in the repository. I tried changing a symbolic link, committed to
> git, and got a single plus-minus change in the diff log, with the
> names of the destination files.

Ah, so it does do something sane: keeps the file's metadata (symlink)
and contents (destination). For a fleeting moment I got a wrong
impression. Sorry, Linus... ;-)

-- 
Oleg Goldshmidt | pub at goldshmidt.org



More information about the Linux-il mailing list