Last active
August 29, 2015 14:12
-
-
Save agam/2cda8597966f49a04e07 to your computer and use it in GitHub Desktop.
Set up `etckeeper`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo apt-get install etckeeper | |
# Modify VCS to `git` (not necessary on Debian, AFAICS) | |
$ sudo vi /etc/etckeeper/etckeeper.conf | |
$ cd /etc | |
$ sudo git log | |
# Should show "...blah blah blah ... Initial Commit" | |
# On Ubuntu, might need to explicitly run `sudo git commit -a -m 'Initial commit` | |
# Fully integrated with APT | |
$ sudo git log | |
# will show something like "... committing changes in /etc after apt run ..." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment