Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1001 Bytes

CONTRIBUTING.md

File metadata and controls

47 lines (32 loc) · 1001 Bytes

Contributing

  1. Fork the repo
  2. Make commits to a branch
  3. rebase upstream changes into your branch
  4. submit a pull request

Common commands

Add an upstream remote. This will help you pull in changes from the base fork

$ git remote add upstream https://github.com/jasonshark/angular-starter

Create a git branch and change into it

$ git checkout -b `your-branch-name`

Once in the branch with your changes pull in any changes that happened upstream with rebase

$ git pull --rebase upstream master

Fix merge conflicts (if any) using git mergetool.

$ git mergetool

To use a GUI instead of VIM you can set the default merge tool to opendiff.

$ git config --global merge.tool opendiff

Continue with the rebase

git rebase --continue

Submit PR