Automatic pushing to a remote git-repository with etckeeper

Flattr this
Tweet this: Automatic pushing to a remote git-repository with etckeeper
Dent this: Automatic pushing to a remote git-repository with etckeeper
Tags: etckeeper, Git
Datum: 08.11.2011 19:48:59
A simple way is just to use etckeeprs hooks and create a script which does the pushing after all /etc/etckeeper/post-install.d/60vcs-commit-push
#!/bin/sh
set -e

git push origin master
And don't forget
chmod +x /etc/etckeeper/post-install.d/60vcs-commit-push

Trackbacks (0)

Trackbackurl: http://www.robo47.net/trackback/blogentry/212

Es sind keine Trackbacks vorhanden.


Kommentare (0)

Es sind noch keine Kommentare vorhanden.

Die Kommentare zu diesem Beitrag sind gesperrt.

You liked it ? Link it on your homepage or blog: