contribute to homebrew
this tip assumes you are using hub
instead of git
(via alias hub='git'
)
- open taps dir
cd /usr/local/Library/Taps
- switch to desired tap dir
cd <tapname>
-
git fork
to create a fork -
git checkout -b <feature-name>
to create a feature branch -
brew edit <formula>
orbrew cask edit <formula>
(or create instead of edit) -
git commit
your changes andgit push <username>
them to your fork -
git pull-request
will create a pull-request from your current branch to origin -
git checkout master
to return things to normal
Written by Simon Waibl
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Homebrew
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#