第一次使用github

来源:互联网 发布:台服战网客户端mac 编辑:程序博客网 时间:2024/06/06 03:53

第一次上传了代码到github上。


中途遇到了一个问题,本地连接上github后,无法上传

提示信息:fatal: Couldn't find remote ref master


百度后得知命令有误:$ git push -u origin master

少了一个    -u


     

参考资料:

学习上传:http://blog.csdn.net/hanhailong726188/article/details/46738929

改正错误:http://hellokugo.blog.51cto.com/9827529/1615715




github上传的地址:https://github.com/snszwh/test-