1.首先切换到当前目录
cd /Users/wlm/Desktop/XXX/XXX
2.执行下面的命令:
defaults write com.apple.finder AppleShowAllFiles -bool true
3.重启Finder
killall Finder

然后在目录下,就可以看见.git文件,可以将需要删除的隐藏文件删除
4执行命令,将隐藏文件隐藏
defaults write com.apple.finder AppleShowAllFiles -bool false

相关文章:

  • 2021-11-20
  • 2021-11-20
  • 2021-11-20
  • 2021-11-20
  • 2021-08-16
  • 2021-10-06
猜你喜欢
  • 2021-05-23
  • 2022-12-23
  • 2021-12-27
  • 2021-12-02
  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
相关资源
相似解决方案