#!/usr/bin/perl use strict; my @out = `cd /test/repo; git commit -m 'msg' 2>&1`; print "Content-type: text/plain\n\n"; print "@out\n"; #### [master (root-commit) 4324b48] msg Committer: Apache Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email you@example.com After doing this, you may fix the identity used for this commit with: git commit --amend --reset-author 1 file changed, 31 insertions(+) create mode 100644 file.txt #### error: unable to create temporary file: No such file or directory fatal: failed to write commit object