git-shell-commands/mk

14 lines
177 B
Text
Raw Permalink Normal View History

2023-09-09 10:38:39 +02:00
#!/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