ssh://[email protected]/username/repo.git
And NOT the https
or git
one:
https://github.com/username/repo.git
git://github.com/username/repo.git
ref:
http://stackoverflow.com/questions/7773181/git-keeps-prompting-me-for-password
Git auto commit as cron task
#!/bin/bash
cd /usr/local/nagios/etc
/usr/bin/git add -A
/usr/bin/git commit -am “update `date`”
/usr/bin/git push origin master