gpt4 book ai didi

homebrew - Brew 更新失败

转载 作者:行者123 更新时间:2023-12-02 21:58:19 31 4
gpt4 key购买 nike

输出:

○ brew update
error: Your local changes to the following files would be overwritten by merge:
lapack.rb
whois.rb
Please, commit your changes or stash them before you can merge.
Aborting
Error: Failed to update tap: homebrew/dupes
Already up-to-date.

我在 Stack Overflow 和 Brew 问题页面 ( https://github.com/mxcl/homebrew/wiki/Common-Issues#brew-update-complains-about-untracked-working-tree-files ) 上尝试了很多东西,但仍然没有成功。它看起来像是一个略有不同的错误,因为它提示 Homebrew 程序/欺骗。

最佳答案

试试这个:

$ cd $(brew --prefix)/Library/Taps/homebrew-dupes/
$ git checkout .
$ git pull --force
$ brew update

关于homebrew - Brew 更新失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17369663/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com