DevSweep:开发者磁盘告急时,先把能清理的东西找出来

我做了 DevSweep:开发者磁盘告急时,先把能清理的东西找出来

做 macOS 开发久了,磁盘空间总会在某个早上突然变少。Xcode 的缓存、模拟器、项目里的 node_modulestarget,再加上 Docker 镜像和 Build Cache,平时不太注意,攒起来就是几十 GB。真正麻烦的不是找不到几个大目录,而是不确定哪些能删,删了会不会影响手头的项目。

Continue reading DevSweep:开发者磁盘告急时,先把能清理的东西找出来

Git “Could not read from remote repository.Please make sure you have the correct access rights.”解决方案

我们在使用 git push 或 clone 或其他命令的时候,有时候会遇到这类问题,如图:

fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

出现这个问题是因为没有在 github 账号添加 SSH key Continue reading Git “Could not read from remote repository.Please make sure you have the correct access rights.”解决方案