Skip to content

Instantly share code, notes, and snippets.

@louiszuckerman
Last active August 29, 2015 13:56
Show Gist options
  • Save louiszuckerman/9254331 to your computer and use it in GitHub Desktop.
Save louiszuckerman/9254331 to your computer and use it in GitHub Desktop.
- Fork the "upstream" project
- Clone your fork
- Make a branch for the feature or bug fix & checkout the new branch
- Commit your changes to your new feature branch
- Push your new feature branch to your fork on github
- Open a pull request from your feature branch to master
- If there's an issue for this feature/bug, give a link in the PR, and mention issue ID in subject
- Additional commits to your new branch will be automatically added to the PR
- Upstream master can move away
- On your local copy: add upstream remote, git fetch, merge from upstream/master into your feature branch
- Don't commit whitespace changes, or make a separate commit for them if necessary
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment