tj.git-extras/bin/git-setup
Aggelos Orfanakos 9a1fcf98e9 Add git-setup
2010-09-02 08:31:57 +03:00

7 lines
145 B
Bash
Executable file

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