mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
9 lines
160 B
Bash
Executable file
9 lines
160 B
Bash
Executable file
#!/bin/sh
|
|
|
|
dir=$(test -z "$*" && echo "." || echo "$*")
|
|
mkdir -p "$dir" \
|
|
&& cd "$dir" \
|
|
&& git init \
|
|
&& git add . \
|
|
&& git commit -m 'Initial commit'
|