This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php /* | |
example post receive hook for github | |
url: http://example.com/post-receive.php?secret=amazingpasswordgoeshere | |
setup sudo using visudo -- these are my defaults on openbsd, YMMV | |
Cmnd_Alias GIT = /usr/local/bin/git | |
Defaults:www !authenticate | |
www ALL=(usernamehere) NOPASSWD: GIT | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
VERS='master 1.0 1.1 1.2' | |
source ~/.bashrc | |
cd ~/Projects/symfony | |
for ver in $VERS | |
do | |
echo $ver; | |
git checkout $ver || exit | |
sleep 2; |
NewerOlder