Version Control of Your Linux Config With Git
Join the DZone community and get the full member experience.Join For Free
I was just reading through the recent notes of Heinrich which I can recommend to read as well as his old notes. When I stumbled upon the note called Monitor /etc/ using git I was confused. Why would one do this?
So I talked to Heinrich and he said:
“Well you want to monitor changes of your system config. You want to be able to revert them and you don’t want to care about this when you do something.”
I really liked this and thinks its so useful and a smart idea that I wanted to share it with you. Just keep in mind that you don’t push the git repository to some public space since the config files might include a lot of passwords. Also look out for his .gitignore in his case the printer does a lot of automatic changes and is thus ignored. You might have similar settings for your configs.
I hope sharing this was useful for you!
Published at DZone with permission of René Pickhardt, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.