all repos — dotfiles @ 1be1fee4dd9f58f190d13eff4cfc109985b6267f

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"