Change commithook to work with force-pushed commits
This commit is contained in:
parent
f844408e9c
commit
c297a00c1b
@ -14,7 +14,7 @@ $uri = $ROUTE->full_url;
|
||||
$cmd = "";
|
||||
|
||||
if ($hook == 'website_mikescher')
|
||||
$cmd = 'git pull';
|
||||
$cmd = 'git fetch ; git reset origin/master --hard';
|
||||
else if ($hook == 'griddominance')
|
||||
$cmd = 'update-gdapi';
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user