I want to install carthage on my Mac OS using brew install carthage command. However, I get the following error:
brew install carthage
touch: /usr/local/Homebrew/.git
I have High Sierra and only this worked for me.
1. sudo chown -R $(whoami):admin /usr/local/* && sudo chmod -R g+rwx /usr/local/* you should not write sudo before brew the right command is 2. brew install mysql