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).
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With