all repos — dotfiles @ d0d2ee45b3081f358233c07cdbc86fc7dd9ce7e4

my *nix dotfiles

bin/git-new-repo (view raw)

1#!/usr/bin/env bash
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"