blob: 1f38fec2602936909cfe8789928b085659f711c5 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh -e
case $1 in
(-h|--help) echo "Usage: git-bip repo [desc] # create a git repo on bip"; exit ;;
esac
ssh git@bip.im git init --bare "${1%.git}.git"
[ "$2" ] && ssh git@bip.im "echo \"$2\" > ${1%.git}.git/description"
|