gitb-init

create bare remote git repos
git clone git://git.ricketyspace.net/gitb-init.git
Log | Files | Refs

commit 8a70ed9f7faeef45a994bdabe5808146f743b5b9
parent a79dd31757da9ce204e9e75d3bba97cdfe713caa
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Fri,  4 Jul 2014 21:19:38 +0530

Merge branch 'master' into rsd

src/gitb-init.sh: changed git_dir variable.

Diffstat:
src/gitb-init.sh | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/gitb-init.sh b/src/gitb-init.sh @@ -9,9 +9,10 @@ repo_name=$1 -git_dir="$HOME/git" # default location. change it if you want. +git_dir="git" # default location relative to remote $HOME. change it if you want. ssh_login="rsiddharth@ninthfloor.org" # default ssh_login. you must change this. + if [ -n "$2" ]; then git_dir=$2 fi