##Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:alexpchin/<reponame>.git
git push -u origin master
##Push an existing repository from the command line
git remote add origin [email protected]:alexpchin/<reponame>.git
git push -u origin master
hey @devxnsh if you set up your PAT in the web browser correctly, it won't be requiring the username/password, see this article for more info. Now that
gh
is out of beta, it should be the best approach rather than doingcurl
ing, as the Canadians say, eh?/