X-Git-Url: https://git.jacobcasper.com/?p=sockgit.git;a=blobdiff_plain;f=templates%2Fhooks%2Fpost-receive;h=3b08ee9e3b9e331bd271b0cf3f24b5ef62034526;hp=abedfa737d1399c2d82e363385b5330b4b446a14;hb=10539325e344fa900f48576071ae151e8e5d0a8d;hpb=3263e5466a97e72e9de5afe634aa866aa107f652 diff --git a/templates/hooks/post-receive b/templates/hooks/post-receive index abedfa7..3b08ee9 100755 --- a/templates/hooks/post-receive +++ b/templates/hooks/post-receive @@ -1,4 +1,4 @@ #!/bin/bash while read OLD_REV NEW_REV REF_NAME; do - git push public $NEW_REV:$REF_NAME + git push -f public $NEW_REV:$REF_NAME done