From b94b71cd87637c049f7a0e12ce260ca3be56d6c2 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Sat, 15 Sep 2018 22:15:46 +0200 Subject: [PATCH] Add note about breaking hard links --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 9acaef8..961b7dd 100644 --- a/README.md +++ b/README.md @@ -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`. 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.