![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
git
IMSI
这个作者很懒,什么都没留下…
展开
-
【Git】git add撤销和git commit 撤销操作
git reset HEAD原创 2023-08-19 12:43:19 · 922 阅读 · 0 评论 -
git删除远程仓库上已提交的文件/文件夹
git、git rm -r --cached原创 2022-11-16 09:40:12 · 3473 阅读 · 0 评论 -
git拉取远程代码,但不要覆盖本地新修改的代码
git、git stash原创 2022-11-14 09:09:16 · 1697 阅读 · 0 评论 -
Git常用命令收集
git原创 2022-08-24 09:02:31 · 77 阅读 · 0 评论 -
解决Git中fatal: refusing to merge unrelated histories
Git的报错今天在使用Git创建项目的时候,在两个分支合并的时候,出现了下面的这个错误。这里的问题的关键在于:fatal: refusing to merge unrelated histories你可能会在git pull或者git push中都有可能会遇到,这是因为两个分支没有取得关系。那么怎么解决呢?解决方案在你操作命令后面加–allow-unrelated-histories例如:git merge master --allow-unrelated-histories如果你是git原创 2022-05-28 13:25:03 · 1034 阅读 · 0 评论 -
gitee使用ssh提交代码却提示:DeployKey does not support push code fatal: Could not read from remote repository
gitee使用ssh提交代码却提示:DeployKey does not support push code fatal: Could not read from remote repository原因:部署公钥的位置错了我的仓库—管理—部署公钥管理原创 2022-05-28 12:18:01 · 478 阅读 · 2 评论