So I use Git mostly for development purposes, but I just realized that I could use it for storing versions of the settings files I have on my Ubuntu installation.
My proposed setup is:
git inita repo at/Add a
.gitignoreat/that ignores any files except specific settings I want to track.For example, the
.gitignorecould contain (source):## Ignore everything... * ## Except... !/etc/default/tlp !/etc/crontabWhenever I change these low-level settings, I can track them.
Is there anything that could go wrong with this setup? Does the kernel always need / to only have certain folders? Will it mess up the functioning of any applications?
~home directory settings files rather than/files – Michael Durrant May 20 '17 at 01:26/etc/crontabon my personal laptop is definitely mine, but I see what you mean. – Abhishek Divekar May 20 '17 at 03:28etckeeperand make backups. – Martin Schröder May 20 '17 at 11:20