Question : error: Not a valid ref: refs/remotes/origin/master fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
Answered by : snippets
# Remove it because you can't `brew untap homebrew/core`
rm -fr $(brew --repo homebrew/core)
# install it
brew tap homebrew/core
Source : | Last Update : Sat, 13 Nov 21
Question : error fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
Answered by : healthy-hummingbird-xrq6pxk75v7x
cd /opt
rm -fr homebrew
run the code too
Source : | Last Update : Sun, 27 Mar 22