#!/bin/bash if [ "x$1" = "x" ] || [ "x$2" = "x" ]; then echo "Usage: $0 " exit -1 fi source_dir=$1 out_file=$2 git_command=$(git rev-parse HEAD) (cat < $out_file echo "" >> $out_file