diff options
-rwxr-xr-x | src/gitb-init.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gitb-init.sh b/src/gitb-init.sh index af78f54..4c71264 100755 --- 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 |