summaryrefslogblamecommitdiff
path: root/git-create
blob: dec457504205b9801c758fad7ac9afde9f0d997e (plain) (tree)
1
2
3
4
5
6
7






                                                                                
#!/bin/sh

REPO_NAME=$1
[ -z "$REPO_NAME" ] && exit 1
ssh git@53hor.net git init --bare --initial-branch=master "repos/$REPO_NAME.git"
vim "scp://git@53hor.net//zroot/git/$REPO_NAME.git/description"
git clone "git@53hor.net:repos/$REPO_NAME.git"