发表于: 2022-11-27 17:57:02
0 1952
今天完成了freecode上关于用grid来写杂志的项目
- 学到了:
自主学习了grid相关用法,附学习资料,这位UP讲的通俗易懂
视频链接:https://www.bilibili.com/video/BV1Bk4y197xm/?spm_id_from=333.337.search-card.all.click&vd_source=84c9044f139701ffb30a13adc6df9d74
PPT链接:https://enen.me/wp-content/uploads/2021/11/grid.pdf
发现了一个VScode拓展;open in default browser,可以直接在本地浏览器上看代码效果,不用修改nginx文件,非常方便。
3.同github cli 上传了今天完成的项目代码,复习上传代码操作。
https://github.com/NancyFeng88/studygrid-mg
遇到的问题:在上传过程中遇到报错
! [rejected] main -> main (fetch first)
error: failed to push some refs to 'https://github.com/NancyFeng88/studygrid-mg.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
如何解决:
//强制推送到远程(可能会覆盖远程上已有的分支或文件) git push -u origin main -f
评论