Force push to public
authorJacob Casper <dev@jacobcasper.com>
Sat, 25 Apr 2020 01:20:17 +0000 (20:20 -0500)
committerJacob Casper <dev@jacobcasper.com>
Sat, 25 Apr 2020 02:53:35 +0000 (21:53 -0500)
templates/hooks/post-receive

index abedfa7..3b08ee9 100755 (executable)
@@ -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