#!/usr/bin/env bash

USAGE(){
  echo "git touch <filename> [ <filename> . . .]" 1>&2
  exit 1
}

test $# -lt 1 && USAGE

for filename in $@; do
  touch "$filename" \
    && git add "$filename"
done
