9 lines
200 B
Bash
Executable file
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 ..
|