OSX – Reset Homemade Formula

When trying to install FreeTDS via Homebrew, I ran brew edit freetds. I edited the file. I want to restore the recipe file (freetds.rb) to its original state in case I introduce a typo.

Is there a way to reset a brewing formula file?

Thank you

Homemade recipes are managed through Git, so you can use git Checkout freetds.rb to clear local changes.

When trying to install FreeTDS via Homebrew, I ran brew edit freetds. I edited the file. I want to restore the recipe file (freetds.rb) to its original state in case I introduce a typo.

Is there a way to reset a brewing formula file?

Thank you

Homemade recipes are managed through Git, so you can clear local changes through git checkout freetds.rb.

Leave a Comment

Your email address will not be published.