- 博客(2)
- 收藏
- 关注
原创 git 常见错误及解决方法
1.git pull遇到错误:error: Your local changes to the following files would be overwritten by merge: 2 在git push origin master时出现以下这个问题时: 3 如果出现这样的错误:The file will have its original line endings in your working directory. 4 git出现这样的错误:Git master branch has no
2022-05-02 23:51:43 373
原创 git提交代码
在文件空白处右键,打开Git Bash Here git init ls 3.git add .(将变更提交至缓存区) 4.git commit -m ‘创建项目’ (提交说明) 如果推到新仓库执行下面两条代码 (将本地变更推送至远程仓库master分支) 如果更新之前代码,执行下面一行即可 $ git push origin master(强制推送) ———————————————— 版权声明:本文为CSDN博主「m0_60360382」的原创文章,遵循CC 4.0 BY-
2022-04-29 15:50:38 65
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人