1、执行brew update报错

fatal: bad revision 'HEAD'

fatal: bad revision 'HEAD'

fatal: Needed a single revision

You do not have the initial commit yet

fatal: Needed a single revision

cd $(brew --prefix) && git fetch && git reset --hard origin/master

 

2、mac中vim升级

brew install mercurial
brew install vim

 

相关文章:

  • 2021-12-16
  • 2021-10-08
  • 2021-09-24
  • 2021-09-18
  • 2022-12-23
  • 2021-10-04
  • 2021-10-17
猜你喜欢
  • 2021-09-04
  • 2021-09-01
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
相关资源
相似解决方案