projects
/
sockgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Force push to public
[sockgit.git]
/
templates
/
hooks
/
post-receive
diff --git
a/templates/hooks/post-receive
b/templates/hooks/post-receive
index
abedfa7
..
3b08ee9
100755
(executable)
--- 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