Horje
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. Code Example
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
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.
###
Source: github.com




Shell

Related
material-ui Code Example material-ui Code Example
How to start apache2 server Code Example How to start apache2 server Code Example
uninstall pm2 Code Example uninstall pm2 Code Example
install i3-gaps ubuntu Code Example install i3-gaps ubuntu Code Example
apply last stash git Code Example apply last stash git Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
18