tj.git-extras/bin/git-ignore
2010-10-08 08:29:27 -07:00

11 lines
154 B
Bash
Executable file

#!/bin/sh
if test $# -eq 0; then
cat .gitignore
else
for pattern in $@; do
echo $pattern >> .gitignore
echo "... added '$pattern'"
done
fi