tj.git-extras/bin/git-setup
2010-09-02 20:06:08 +03:00

7 lines
144 B
Bash
Executable file

#!/bin/sh
test -z "$1" && echo "path required." && exit 1
cd "$1"
test -d .git && exit
git init && git add . && git commit -m 'Initial commit'