etckeeper

Track system configuration files in Git. More information: <http://etckeeper.branchable.com/>.

Install

All systems
curl cmd.cat/etckeeper.sh
Debian Debian
apt-get install etckeeper
Ubuntu
apt-get install etckeeper
Alpine
apk add etckeeper
Arch Arch Linux
pacman -S etckeeper
image/svg+xml Kali Linux
apt-get install etckeeper
Fedora
dnf install etckeeper
Windows (WSL2)
sudo apt-get update sudo apt-get install etckeeper
Raspbian
apt-get install etckeeper
Docker
docker run cmd.cat/etckeeper etckeeper powered by Commando

Track system configuration files in Git. More information: <http://etckeeper.branchable.com/>.

  • Set up a Git repo and perform various setup tasks (run from `/etc`):
    sudo etckeeper init
  • Commit all changes in `/etc`:
    sudo etckeeper commit message
  • Run arbitrary Git commands:
    sudo etckeeper vcs status
  • Check if there are uncommitted changes (only returns an exit code):
    sudo etckeeper unclean
  • Destroy existing repo and stop tracking changes:
    sudo etckeeper uninit

© tl;dr; authors and contributors