all repos — dotfiles @ e707958f8ef89f3da036fa700af2ef9d65936f9e

my *nix dotfiles

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

1#!/bin/sh
2
3repo="$1"
4[[ "$1" == "" ]] && repo="$(basename "$PWD")"
5ssh git@jade git init --bare "$repo"
6read -p "descripton: " desc
7printf '%s' "$desc" > .git/description
8rsync .git/description git@jade:"$repo"