第一次上传项目至GitHub

git init
git config --global user.email "邮箱" 
git config --global user.name "Aurorajwj" 
git config --global http.sslVerify "false"  //若无ssh,添加ssh
git add . 
git commit -m "first commit"
git remote add origin 
git push -u origin master   //第二次上传同一项目时: git push origin master

你可能感兴趣的:(github,git)