在github上创建项目并上传代码

参考教程:

Ubuntu下:http://blog.csdn.net/hanhailong726188/article/details/46738929

Windows下:https://www.cnblogs.com/xianfangloveyangmei/p/6854103.html

期间遇到过一些问题:

1)git pull origin master

fatal: Couldn't find remote ref master

则需重新输入$ git remote add origin git@github.com:djqiang/gitdemo.git

2)git push 提示 Everything up-to-date

 

最后成功的效果图:

posted @ 2018-01-24 10:55  莎茉儿  阅读(182)  评论(0编辑  收藏  举报