From: Jacob Casper Date: Sat, 25 Apr 2020 01:20:17 +0000 (-0500) Subject: Force push to public X-Git-Url: https://git.jacobcasper.com/?a=commitdiff_plain;h=10539325e344fa900f48576071ae151e8e5d0a8d;p=sockgit.git Force push to public --- 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