During the course of this manual, we will edit a lot of configuration files and install many application packages and sometimes it is really hard to remember what we did and why after a couple of months have passed.
To stay on top of the game we will use etckeeper.
Etckeeper is an application that uses version control systems like
git, Bazaar or Mercurial to track changes made to the
apt-get install etckeeper
Etckeeper in Debian uses git for tracking changes and is set to automatically commit all of the changes before a new package is installed as well as to auto commit changes on a daily bases.
Since i do now want to forget to describe changes I made to the
/etc I usaully disable
automatic commits. Edit
and uncomment out these two lines:
Set name and email git will use for the commit log by running this two commands at the shell:
git config --global user.name "Your Name" git config --global user.email email@example.com
It is time for our first commit
etckeeper commit "Changed etckeeper settings to disable auto commits"
To view the change log navigate to the
/etc folder and run:
You can learn more about git and etckeeper at the projects homepage.
Remember to commit your changes after the each change you make or you will not be able to install packages because etckeeper will complain that there are uncommitted changes in the folder.