程序小白痴,经常深陷白痴错误。
主要记录自己遇到的问题,和最有帮助的解答贴的链接。
1 push 思路
git push的步骤:
-
打开.git路径
cd C:/Users/lenovo/tabu_search【遇到问题1】 -
git add .【遇到问题2】 -
git commit -m "写commit" -
git remote add origin https://github.com/xxx/xxx.git【遇到问题3】 -
git push -u origin master
主要参考链接:
github入门——push和clone的使用
https://www.jianshu.com/p/9d163c041c24
2 问题及解答
问题1
使用git init后,报错。
$ git init
Reinitialized existing Git repository in C:/Users/lenovo/.git
$ git add
GitHub push教程与常见问题解析

本文记录了一名初学者在使用git push时遇到的三个问题及其解决方案。问题包括:状态权限被拒绝、LF和CRLF换行符警告以及remote origin已存在。每个问题都提供了详细的解决步骤和参考资料。
最低0.47元/天 解锁文章
1376

被折叠的 条评论
为什么被折叠?



