Last Updated: February 25, 2016
·
1.297K
· ninjascribble

Use tiny git repos everywhere

$ cd /etc/apache2
$ git init

Since git repos are tiny, don't be afraid to use them liberally. Pop one into your apache directory to back up your config changes, or throw one into your user directory and start versioning .profile. It's cleaner than having .bak files all over the place, and you get a running log of your updates over time.

2 Responses
Add your response

Great idea!

over 1 year ago ·

Have a look at etckeeper

over 1 year ago ·