mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
7 lines
144 B
Bash
Executable file
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'
|