摘要: 一,发生的情况: 做了git add...git commit之后,发现有些文件不应该加入到git仓库,于是把指定的目录加入到了.gitignore 二,操作: 查看目录下已被追踪的文件: 删除: 执行命令: git rm -r --cached 你的目录名/ 如图: 然后需要提交commit 如图 阅读全文
posted @ 2026-08-16 22:01 刘宏缔的架构森林 阅读(7) 评论(0) 推荐(0)
摘要: 一,报错信息: $ git remote set-url origin git@gitee.com:ld_9/my_project_name.git error: No such remote 'origin' 二,原因 报错 error: No such remote 'origin' 的根本原因 阅读全文
posted @ 2026-08-16 21:38 刘宏缔的架构森林 阅读(22) 评论(0) 推荐(0)