Commit your changes after editing Homebrew formulas
As in the title. If you don't do that, you'll get:
error: Your local changes to the following files would be overwritten by merge: Library/Formula/redis.rb
Please, commit your changes or stash them before you can merge.
Aborting
Here is one-liner:
git --work-tree=$(brew --prefix) commit -a -m "potato"
Written by Adam Stankiewicz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#