Skip to main content

homebrew, git

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 Fork button.

create or login into your github account

use the Fork button at
https://github.com/caskroom/homebrew-cask

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


  1. git pull https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git BRANCH_NAME
    
  2. =
  1. git pull https://github.com/christopinka/homebrew-cask.git master
deal with conflicts

Push the merge to your GitHub repository.
git push origin master

next time I commit something I'll complete the example

Comments

Popular posts from this blog

Microservices Design Patterns

functional decomposition or domain-driven design well-defined interfaces  explicitly published interface  single responsibility principle potentially polyglot http://blog.arungupta.me/microservice-design-patterns/ http://blog.arungupta.me/microservices-monoliths-noops/ https://go.forrester.com/blogs/13-11-20-mobile_needs_a_four_tier_engagement_platform/ three-tier architecture — presentation, application, data vs. 4 tier -- client, delivery, aggregation, services

Got to be a better way than ridiculous high apr RHApr

Read more at:  https://www.cardratings.com/creditcardblog/whats-the-point-of-having-a-credit-card.html Copyright © CardRatings.com 1. Earn credit card rewards and perks Every month, seems like a joke this is just a way for marketers to get ahold of you Don't need rewards for tracking my behavior. Need living wage and fair prices.  2. Avoid wiping out your bank account if an emergency happens Life is an emergency Should we charge RHApr when someone is in need? Vulture lately? 3. Minimize risk and reduce payment hassles  Debit cards or other e-payment do this without exorbitant fees like RHApr 4. Make budgeting easier  No No one writes checks anymore Debit cards and other forms of e-payment solve most of these 5. Build credit why? So you can have more credit. Circular. Stupid. Read more at:  https://www.cardratings.com/creditcardblog/whats-the-point-of-having-a-credit-card.html Copyright © CardRatings.com