四时宝库

程序员的知识宝库

释放磁盘空间(释放磁盘空间有危害吗)

清理系统和释放空间的工具,特别是对开发人员而言。

使用风险由您自己承担。

Command Line

Docker

docker system prune --all

Conda

conda clean --all

Git

Cleanup unnecessary files and optimize the local repository

git gc --aggressive --prune=now

Deleted merged branches (except formaster,main,developordev)

git branch --merged | egrep -v "(^\*|master|main|develop|dev)" | xargs git branch -d

Homebrew

brew cleanup -s

apt-get / aptitude

apt-get clean
# or
apt clean
# or
aptitude clean

Mac/Linux Cache Folder

rm -r ~/.cache

Yarn

yarn cache clean

发表评论:

控制面板
您好,欢迎到访网站!
  查看权限
网站分类
最新留言
    友情链接