dotfiles/git/git-github-init
2011-11-09 11:58:29 -05:00

9 lines
200 B
Bash
Executable file

#!/bin/bash
# create directory and checkout project from github
# usage: git github-init joshtronic bash
git init $2
cd $2
git remote add origin git@github.com:$1/$2.git
git pull origin master
cd ..