Last Updated: February 25, 2016
·
324
· 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