如何将本地代码上传到github

参考博客:

常见问题:

error: failed to push some refs to 'https://github.com/RunningSnail1997/Mycode.git'

https://blog.youkuaiyun.com/crazydony/article/details/51983343

fatal: Not a git repository (or any of the parent directories): .git

https://blog.youkuaiyun.com/u012306714/article/details/52571596

fatal: No configured push destination.

http://www.mamicode.com/info-detail-347460.html

fatal: pathspec 'readme.txt' did not match any files

https://blog.youkuaiyun.com/moxiaoya1314/article/details/80977493

fatal: The current branch master has no upstream branch.

https://blog.youkuaiyun.com/benben_2015/article/details/78803753

参考教程

https://www.cnblogs.com/xuancaolinxia/p/5677503.html

https://yq.aliyun.com/ask/332356

https://blog.youkuaiyun.com/qq_32846595/article/details/71149312

http://www.cnblogs.com/cxk1995/p/5800196.html

 

1.注册github账号

2.创建仓库

3.下载git shell,百度上搜“git下载”

4.安装好以后,打开git bash

5.打开项目文件夹,会发现刚才在github里面新建的文件都存在本地了

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值