git提交代码

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

git remote remove origin

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

git branch -M master

git push origin master

原文地址:https://www.cnblogs.com/thinkingandworkinghard/p/15311353.html