使用github部署react项目

文件夹copy到桌面

创建一个新的github repo

从tabby cd到这个copy文件目录

git init
git add . 
git status
git commit -m"Initial commit"
git branch -M main
git remote add origin <https://github.com/dadaocao/TechLog-webapp.git>
git push origin main //这一步报错了,尝试了增加git缓存空间:
git config http.postBuffer 524288000 //还是不行,换到了web storm里尝试ctrl k,也不行(因为已经commit了),最后是在web storm里的命令行 敲git push origin main才好的。

到这一步,本地工程文件就push到远端了。

Untitled

Untitled

 如上图(不要着急save!!!等下面配完再说),github-sett

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值