1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-01 05:53:42 +02:00
tldr/pages/linux/etckeeper.md
Managor 326bd08c31
*: use a more specific more info link, com domain (#17694)
Updated more information links with more specific URL
2025-08-16 11:21:31 -07:00

24 lines
511 B
Markdown

# etckeeper
> Track system configuration files in Git.
> More information: <https://manned.org/etckeeper>.
- 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`