13 lines
379 B
Bash
Executable file
13 lines
379 B
Bash
Executable file
#!/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)"
|