Im trying to get my etckeeper repository to automatically commit to my git repo.

I have done:

etckeeper init etckeeper commit "first commit" git remote add origin https://github.com/user/repo.git 

I have edited the PUSH_REMOTE option in /etc/etckeeper/etckeeper.conf as a hook and it doesn't push to my repo.

Am i missing something? It only works if I manually push the commits and enter my username and password.

submitted by /u/Rogurzz
[link] [comments]