X-Git-Url: https://git.jacobcasper.com/?p=sockgit.git;a=blobdiff_plain;f=templates%2Fhooks%2Fpost-receive;fp=templates%2Fhooks%2Fpost-receive;h=8847b245af9122b6befc92475e0a67fb473b4c2d;hp=0000000000000000000000000000000000000000;hb=d32455804814b364da42ef15a3680deeddbd9dda;hpb=3bd921b8e25dd09af4b4b443a1c6cb3f9e132ee4 diff --git a/templates/hooks/post-receive b/templates/hooks/post-receive new file mode 100644 index 0000000..8847b24 --- /dev/null +++ b/templates/hooks/post-receive @@ -0,0 +1,3 @@ +while read OLD_REV NEW_REF REF_NAME; do + git push public $NEW_REV:$REF_NAME +done