首页 分类 环境运维 环境运维 Mac使用zsh导致maven命令无效的解决方案 2022-01-19 / 约 1 分钟阅读 / 九堡网 第一步: vim ~/.zshrc 第二步:在.zshrc末尾加上 source ~/.bash_profile; 保存推出了 第三步 source ~/.bash_profile
环 环境运维 #2079 环境运维 2026-10-15 git add . 如果要去掉指定文件www/index.html,该用什么命令 已经执行了 git add .,想把某个文件撤出暂存区 bash git restore --staged www/index.html Git 2.23+ 的推荐写法。老版本没有 restore,用等价命令: bash git reset HEAD www/… 3 分钟阅读 阅读