Skip to content

Instantly share code, notes, and snippets.

@sideshowcoder
Created June 10, 2013 19:32
Show Gist options
  • Save sideshowcoder/5751530 to your computer and use it in GitHub Desktop.
Save sideshowcoder/5751530 to your computer and use it in GitHub Desktop.
post-receive agrument handling
#!/bin/bash
while read oldrev newrev ref
do
echo "$oldrev $newrev $ref"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment