diff --git a/bin/git-setup b/bin/git-setup index 0d33d14..0320523 100755 --- a/bin/git-setup +++ b/bin/git-setup @@ -2,5 +2,5 @@ test -z "$1" && echo "path required." && exit 1 cd "$1" -[[ -d .git ]] && exit +test -d .git && exit git init && git add . && git commit -m 'Initial commit'