all repos — dotfiles @ fcd2a5a95b5ca3254f664d970d49cb4554b90d42

my *nix dotfiles

home/bin/git-new-repo (view raw)

 1
 2
 3
 4
 5
 6
 7
 8
#!/bin/sh

repo="$1"
[[ "$1" == "" ]] && repo="$(basename "$PWD")"
ssh git@jade git init --bare "$repo"
read -p "descripton: " desc
printf '%s' "$desc" > .git/description
rsync .git/description git@jade:"$repo"