当前位置:网站首页>Brew tool - "fatal: could not resolve head to a revision" error resolution
Brew tool - "fatal: could not resolve head to a revision" error resolution
2022-06-13 03:13:00 【liranke】
Problem description :
It's going on brew update when , An error occurred , as follows :
% brew update
fatal: Could not resolve HEAD to a revision
Already up-to-date.
terms of settlement :
Ideas :
1) Error found homebrew The catalog of ;
2) Go to the directory , perform fetch and pull command .
1) function “brew update --verbose”, Error found homebrew The catalog of :
% brew update --verbose
Checking if we need to fetch /usr/local/Homebrew...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask...
Checking if we need to fetch /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...
Fetching /usr/local/Homebrew...
Updating /usr/local/Homebrew...
Branch 'master' set up to track remote branch 'master' from 'origin'.
Switched to and reset branch 'master'
Your branch is up to date with 'origin/master'.
Switched to and reset branch 'stable'
Current branch stable is up to date.
Updating /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core...
fatal: Could not resolve HEAD to a revision
Already up-to-date.
2) Go to the wrong directory , And then first fetch, after pull, as follows :
cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
% pwd
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
% git fetch --prune origin
% git pull --rebase origin master
From https://github.com/Homebrew/homebrew-core
* branch master -> FETCH_HEAD
Updating files: 100% (6435/6435), done.
Here's the picture :
边栏推荐
- IOS development interview knowledge sorting - OC Foundation (II)
- The weight of the input and textarea components of the applet is higher than that of the fixed Z-index
- Ijkplayer source code - choose soft decoding or hard decoding
- C 10 new features_ C 10 new features
- Prometheus node_exporter安装并注册为服务
- Keil removes annoying st link update tips
- Use and arrangement of wechat applet coordinate position interface (I)
- English语法_方式副词-位置
- 2022.05.29
- C# . NET ASP. Net relationships and differences
猜你喜欢
Vscode liveserver use_ Liveserver startup debugging
Operating principle of JS core EventLoop
Few-shot Unsupervised Domain Adaptation with Image-to-Class Sparse Similarity Encoding
JMeter quick start
Review notes of RS data communication foundation STP
HEAP[xxx.exe]: Invalid address specified to RtlValidateHeap( 0xxxxxx, 0x000xx)
Radio design and implementation in IVI system
六款国产飞机专用GPU产品通过鉴定审查
Spark UDF instance details
MySQL 8.0 installation free configuration method
随机推荐
Hash table: the time complexity of insert, delete and random access is O (1)
Traverse the array and delete an element until it is deleted
Ijkplayer source code -- Library loading and initialization
MySQL index
Scala implements workcount
Exercise 8-3 rotate array right
C method parameter: ref
Typical application of ACL
Simple use of qtreeview of QT (including source code + comments)
CDN single page reference of indexbar index column in vant framework cannot be displayed normally
IOS development internal volume interview questions
Wechat applet obtains the current location (startlocationupdate, onlocationchange, offlocationchange)
Vant realizes the adaptation of mobile terminal
wx. Createselectorquery() gets the usage of DOM nodes in components
Sword finger offer2: queue summary
Applet image component long press to identify supported codes
. New features in net 6.0 _ What's new in net 6.0
How to select fund products? What kind of fund is a good fund?
Installing the IK word breaker
[JVM series 8] overview of JVM knowledge points