1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 10:02:08 +02:00
tldr/pages/linux/etckeeper.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

24 lines
515 B
Markdown

# etckeeper
> 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`