I use etckeeper for changes in my configfiles (on Debian squeeze)

Since I also have an ircdeamon running, there are some files, that change every minute in the folder


I don't want to version control them anymore, so I added


to the end of


but they are not ignored! They keep showing up every hour in the hourly commit.

What am I doing wrong?


You need to delete (=unregister) them from git.

Use something like

cd /etc
git rm --cached hybserv/*
git commit -m "Remove hybserv/* files from git"

Note the --cached option. With it, the files are only removed from git and are not deleted from the disk.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.