13 lines
177 B
Bash
Executable file
13 lines
177 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
IFS=$'\n'
|
|
|
|
cd ~git
|
|
source git-shell-commands/util.sh
|
|
arguments 1 "$#"
|
|
|
|
dest="$(repo_name_new "$1")"
|
|
|
|
mkdir "$dest"
|
|
cd "$dest"
|
|
git init --bare 2>&1
|