欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Brew update problem

程序员文章站 2022-05-25 19:38:22
...
引用

MBA:~ fortin$ brew update
error: Your local changes to the following files would be overwritten by merge:
    expect.rb
    libiconv.rb
    ncurses.rb
    openldap.rb
    openssh.rb
    perl.rb
    tcl.rb
    tk.rb
Please, commit your changes or stash them before you can merge.
Aborting
Error: Failed to update tap: homebrew/dupes
Updated Homebrew from 008b09ca to 7dd2e5f4.
==> Updated Formula
apollo      drush       libxmlsec1  vorbis-tools    z
bigloo      icarus-verilog  scm-manager x264
MBA:~ fortin$ ls
Cellar          hidden          sbin
Library         hw_mobile_userdata  share
README.md       include         texlive
bin         lib         var
etc         man




cd /usr/local/Library/Taps/homebrew-dupes && git reset --hard

cd /usr/local/Library && git stash && git clean -f

chown -R $(whoami) /usr/local/.git