Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reset Homebrew Formula

Tags:

People also ask

What does brew update reset do?

The update-reset version of this command resets all formulae to be identical to the contents of their remote repositories, deleting any local changes. It is only used as a last-resort effort to fix a problem (it's like unplugging Homebrew and plugging it back in).

Where does brew install formulas?

Packages are installed according to their formulae, which live in /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula . Check out a simple one, e.g. brew edit etl (or etl ) or a more advanced one, e.g. brew edit git (or git ).


While trying to install FreeTDS via Homebrew, I ran brew edit freetds. I edited the file. I'd like to restore the Recipe file (freetds.rb) to it's orinal state in case I introduced a typo into it.

Is there a way to reset a brew formula file?

Thanks