![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Git
宇宙爆肝锦标赛冠军
智能机器人研究生
展开
-
【MaxOS|Bug】git clone 报错 xcrun: error: invalid active developer path
文章目录问题背景解决方法问题背景在 git clone 时发生如下报错:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun解决方法执行安装命令:xcode-select --install...原创 2022-05-09 11:33:44 · 4731 阅读 · 2 评论 -
【Github】Git取消跟踪某文件夹/文件
不小心把build文件夹上传到了Github,该文件夹又大而且传上去没用,所以想取消跟踪它。# 列出需要取消跟踪的文件夹和文件(没有真正取消跟踪)git rm -r -n --cached build/# 取消跟踪该文件夹git rm -r --cached build/# 修改 .gitignore 文件# 提交git commit -m "取消跟踪build文件夹"# push到远程git push origin...原创 2022-03-21 14:40:34 · 957 阅读 · 0 评论