Skip to content

Instantly share code, notes, and snippets.

@lzhoucs
Last active January 15, 2017 21:17
Show Gist options
  • Save lzhoucs/137dd98db608a98f4e28755347fa1aa9 to your computer and use it in GitHub Desktop.
Save lzhoucs/137dd98db608a98f4e28755347fa1aa9 to your computer and use it in GitHub Desktop.
Homebrew Reference

Homebrew contribution

Update brew formula

Update brew cask

Use cask-repair to update the cask, commit the change, push and create the PR automatically.

Prerequisite

  • Go to $(brew --repository)/Library/Taps/caskroom/homebrew-cask/Casks directory
  • github user remote is set to origin, upstream remote is set to upstream. And both remotes are up to date

Steps

  • cask-repair '<cask_name>'. E.g: cask-repair 'karabiner-elements'
  • specify new version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment