IN PROGRESS - Steps to contribute a cask to homebrew. Also a good way to stay in touch with git use if you don't have it at work.
https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#getting-set-up-to-contribute
1: Fork the repository in GitHub with the
create or login into your github account
use the Fork button at
https://github.com/caskroom/homebrew-cask
A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea.
Now get a 'remote' local copy of the fork
you must have git installed
comes pre-installed on later osx versions
can switch to most current with homebrew - $brew install git
Now update your remote to master - 'pull' most current for master branch
https://help.github.com/articles/merging-an-upstream-repository-into-your-fork/
next time I commit something I'll complete the example
https://github.com/caskroom/homebrew-cask/blob/master/CONTRIBUTING.md#getting-set-up-to-contribute
1: Fork the repository in GitHub with the
Fork
button.create or login into your github account
use the Fork button at
https://github.com/caskroom/homebrew-cask
A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea.
Now get a 'remote' local copy of the fork
you must have git installed
comes pre-installed on later osx versions
can switch to most current with homebrew - $brew install git
$ github_user='<my-github-username>' $ cd "$(brew --repository)"/Library/Taps/caskroom/homebrew-cask $ git remote add "${github_user}" "https://github.com/${github_user}/homebrew-cask"
Now update your remote to master - 'pull' most current for master branch
https://help.github.com/articles/merging-an-upstream-repository-into-your-fork/
git checkout master
git pull https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git BRANCH_NAME
- =
git pull https://github.com/christopinka/homebrew-cask.git master
deal with conflicts
Push the merge to your GitHub repository.
git push origin master
Comments
Post a Comment