Mac OS 实时查看当前文件夹下文件的变化 每隔 0.5 秒输出当前 .git 目录的文件 watch -n .5 "tree .git" 需要安装 watch 和 tree 命令, brew install watch brew install tree