Last Updated: February 25, 2016
·
319
· novalagung

Git - Creating Github Repo from CLI

curl -u 'username' https://api.github.com/user/repos -d '{"name":"repo-name"}'
git remote add origin git@github.com:username/repo-name.git
git add .
git commit -m "first commit"
git push origin master