dotfiles/git/scripts/git-github-init
2012-07-21 15:14:29 -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 ..