Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ETCKeeper cheatsheet
- #https://www.digitalocean.com/community/tutorials/how-to-manage-etc-with-version-control-using-etckeeper-on-centos-7
- #Example: Commit after changing an /etc file
- #sudo etckeeper commit "First commit of my /etc directory"
- #Example: list the commits you’ve made so far
- #sudo git log --pretty=oneline
- #Example: roll back /etc/hosts
- #sudo etckeeper vcs checkout 76c19 /etc/hosts
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement