如何将本地代码上传到Github
git init
git add .
git commit -m "first commit" (first commit 本次提交的内容)
git remote add origin https://github.com/852172891/test3.git (地址换成你建的项目的地址,不知道的话看下边 项目地址是哪个的图)
git push -u origin master (这一句执行的时候 可能需要输入你的 git 账号 和密码)
--------------------- 作者:我叫王哈哈 来源:CSDN 原文:https://blog.csdn.net/wangbf_java/article/details/80518213?utm_source=copy 版权声明:本文为博主原创文章,转载请附上博文链接!
github上的版本和本地版本冲突的解决方法
https://blog.csdn.net/shiren1118/article/details/7761203