etckeeper

etckeeper

TLDR

Set up a Git repo and perform various setup tasks (run from /etc)

$ sudo etckeeper init
copy

Commit all changes in /etc

$ sudo etckeeper commit [message]
copy

Run arbitrary Git commands

$ sudo etckeeper vcs [status]
copy

Check if there are uncommitted changes (only returns an exit code)

$ sudo etckeeper unclean
copy

Destroy existing repo and stop tracking changes

$ sudo etckeeper uninit
copy

Copied to clipboard
sandbox