Add note about breaking hard links
This commit is contained in:
parent
6691b62891
commit
b94b71cd87
1 changed files with 3 additions and 0 deletions
|
@ -31,3 +31,6 @@ $ ./lincon deploy /etc/otherprogram/settings.conf
|
||||||
The command will create a hardlink at `/etc/otherprogram/settings.conf`, which points to the file in your repository (in this case `/home/user/configs/etc/otherprogram/settings.conf`.
|
The command will create a hardlink at `/etc/otherprogram/settings.conf`, which points to the file in your repository (in this case `/home/user/configs/etc/otherprogram/settings.conf`.
|
||||||
|
|
||||||
In case there is already a config file with the same name, the file will get backed up to `/etc/otherprogram/settings.conf.bak`.
|
In case there is already a config file with the same name, the file will get backed up to `/etc/otherprogram/settings.conf.bak`.
|
||||||
|
|
||||||
|
Note: Since checking out different git branches deletes and creates physical files in your file system, hardlinks might break. This means that you might have to re-deploy your config files after
|
||||||
|
doing navigating your git history and switching branches.
|
||||||
|
|
Loading…
Reference in a new issue