Etckeeper: Difference between revisions

recipe
(update to avoid recursive git repos)
(recipe)
Line 1: Line 1:
== Intro ==
== Intro ==
[https://etckeeper.branchable.com/ Etckeeper] (also at https://github.com/joeyh/etckeeper) is a great tool created by Joey Hess to use your favorite VCS to keep track of what's going on in <code>/etc</code>.
[https://etckeeper.branchable.com/ Etckeeper] (also at https://github.com/joeyh/etckeeper) is a great tool created by Joey Hess to use your favorite VCS to keep track of what's going on in <code>/etc</code>.
== TLDR ==
<source lang="bash">
sudo su -
apt-get install etckeeper
cd /etc/
# change VCS to 'git' by commenting out bzr; and uncomment git
vim etckeeper/etckeeper.conf
etckeeper init
</source>


== Extending etckeeper ==
== Extending etckeeper ==
Line 59: Line 70:
[[Category:Version Control]]
[[Category:Version Control]]
[[Category:DevOps]]
[[Category:DevOps]]
[[Category:VCS]]
[[Category:VCS]]
[[Category:Version Control]]
4,558

edits