dotfiles/git/git-github-init
2012-06-23 12:40:50 -04: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 ..