14 lines
379 B
Text
14 lines
379 B
Text
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
IFS=$'\n'
|
||
|
|
||
|
cd ~git
|
||
|
source git-shell-commands
|
||
|
arguments 0 "$#"
|
||
|
|
||
|
echo "ls List repositories"
|
||
|
echo "mk <name> Create new repository"
|
||
|
echo "mv <name> <newname> Rename repository"
|
||
|
echo "ln <target> <name> Create symlink"
|
||
|
echo "rm <name> Remove repository (confirmation will be asked but not for symlinks)"
|