diff options
| author | Marc Vertes <mvertes@free.fr> | 2020-01-06 10:59:50 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2020-01-06 10:59:50 +0100 |
| commit | 8f58c1c5ca2b4b8905d93b219317877fe75c54c5 (patch) | |
| tree | 1af823b8c890c801266179fc3a13f5ffa73e01f9 | |
| parent | 4804192e2a3c77f2a7d6e646925086065b4c6a07 (diff) | |
add git-bip to create repos on bip
| -rwxr-xr-x | bin/git-bip | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/git-bip b/bin/git-bip new file mode 100755 index 0000000..2b1245e --- /dev/null +++ b/bin/git-bip @@ -0,0 +1,7 @@ +#!/bin/sh + +# create a git repo on bip + +ssh git@bip.im git init --bare "${1%.git}.git" + +[ "$2" ] && ssh git@bip.im "echo \"$2\" > ${1%.git}.git/description" |
