将本地代码上传到GitHub

1 git init
2 git add .
3 git commit -m "第一次提交"
4 git remote add origin https://github.com/qixlin/spring.git
5 git pull origin master --allow-unrelated-histories
6 git push -u origin master
大功告成
posted @ 2018-05-28 17:54  redos  阅读(116)  评论(0)    收藏  举报