Answers for "error fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree."

1

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.

# Remove it because you can't `brew untap homebrew/core`
rm -fr $(brew --repo homebrew/core) 
# install it
brew tap homebrew/core
Posted by: Guest on November-06-2021
2

install homebrew without errors like : ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.

Run unintsall script :- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
Set Git Compression :- git config --global core.compression 0
Set Git buffer size :- git config --global http.postBuffer 1048576000
Run installation script :- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
###
Install homebrew.
solve errors such as below:
: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
###
Posted by: Guest on December-30-2021
0

error fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.

cd /opt
rm -fr homebrew

run the code too
Posted by: Guest on March-20-2022

Code answers related to "error fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree."

Browse Popular Code Answers by Language