git config --global user.name "dennis wu"
git config --global user.email "email"
cd C:\Users\v-yanywu\source\repos\GIT
git init
typenul>README.md
git add README.md
git commit -m "add readme"
git remote add origin https://github.com/itdennis/DennisPythonDemoes.git
git push -u origin master
转载于:https://www.cnblogs.com/it-dennis/p/10232707.html