1.github创建repositories 后使用下面的命令:

 

 

git remote remove origin

git remote add origin git@github.com:用户名/项目名.git

git branch -M master

git push origin master