随笔分类 -  git

摘要:解决办法 git checkout mastergit reset --hard 分知名git push --force origin master 搞定 阅读全文
posted @ 2021-07-22 17:24 aacc1314 阅读(148) 评论(0) 推荐(0)
摘要:git add 单个文件名 git add . 所有文件 git commit -m “版本信息” git pull origin 分支名称 阅读全文
posted @ 2021-07-22 17:15 aacc1314 阅读(38) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2021-07-21 10:24 aacc1314 阅读(19) 评论(0) 推荐(0)
摘要:在当我们输入` git remote add origin https://gitee.com/(github/码云账号)/(github/码云项目名).git ` 就会报如下的错 fatal: remote origin already exists. 翻译过来就是:致命:远程来源已经存在 此时, 阅读全文
posted @ 2021-07-07 11:06 aacc1314 阅读(1395) 评论(0) 推荐(0)
摘要:我们的解决办法: 去到项目所在文件夹,找到这个顽强的文件,将其拷贝出去,然后执行git add .和git commit -m "文件名"将其提交到本地,成功! 阅读全文
posted @ 2021-07-06 21:03 aacc1314 阅读(6457) 评论(0) 推荐(0)