Brew update problem

引用

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

你可能感兴趣的:(update)