hugo-sandstorm/commit-on-save

6 lines
124 B
Plaintext
Raw Normal View History

#!/bin/sh
cd /var/git
git add $1
git commit $1 -m "Saved $1 via administrative interface."
/var/git/.git/hooks/post-receive