Git post-receive pipeline although commits everything
I am trying to do a post hooking hook on the server side that will run multiple Python script once for every commit in a push.
I have a loop:
while read oldrev newrev refname
do
python /local/Git/util.py $newrev $oldrev $refname
done
But this script is only executed for the last commit that was given in push.
Is there a way to run a script for all commits pushed to the server with one click?
+3
source to share