tj.git-extras/bin/git-touch
David Rogers 3c874ce9f4 Use $@ instead of $* re #467
Blind first pass so that I have a PR to remind me...
2015-12-28 13:53:49 -05:00

9 lines
142 B
Bash
Executable file

#!/usr/bin/env bash
test $# -lt 1 && echo "filename required" 1>&2 && exit 1
filenames="$@"
touch "$filenames" \
&& git add "$filenames"