xvtf-w
Last Updated: February 25, 2016
·
323
· elseym

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> or brew cask edit <formula> (or create instead of edit)
  • git commit your changes and git 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