-
Notifications
You must be signed in to change notification settings - Fork 181
Making Contributions
Kelby Lynn Baca edited this page Feb 22, 2018
·
3 revisions
This issue arises when the master
branch of the upstream repository has been changed (i.e. new commits added) since you checked out a development branch. It can be resolved in the following manner -
- Click on the command line instructions as shown in the image above. The instructions are also explained below.
- Navigate to the current working directory of your working project on the command line.
- Run
git remote
to determine the remote name, if you have multiple remotes configured, you can rungit remote -v
to also see the URLs associated with each remote. The remote you want will have a URL containinggithub.com/zen-audio-player/zen-audio-player.github.io
. - Use
git fetch upstream
to fetch the branches and their respective commits from the upstream repository and store them locally. Commits to the upstreammaster
branch are stored in a local branchupstream/master
. - Check out your branch using
git checkout <your-branchname>
. - Merge the changes from upstream/master into your branch using
git merge upstream/master
. This syncs your branch with the upstream repository, without losing your local changes. - Now you can again push your local changes using
git push origin <your-branchname>
.
If you're seeing some unexpected behavior, please create an issue on GitHub with the following information:
- A screenshot
- Browser, browser version, and operating system
- The expected behavior, actual behavior, and steps to reproduce it
- Possible solution, fix, or workaround
If you create an issue for a change, improvement, or feature request:
- Give a description of the problem you're trying to solve, and why.
- If the feature changes current behavior, explain why your solution is better.
Before making a pull request:
- Read the CONTRIBUTING guidelines - specifically, the steps dealing with pull requests.
- Make sure your code follows the code style of this project and passed all tests.
- Update the documentation to reflect your changes.
When making a pull request, describe your changes in detail. Include the following information:
- Why is this change required? What problem does it solve?
- If it fixes an open issue, include the text
Closes #1
(where 1 would be the issue number) to your commit message.
What types of changes does your code introduce?
- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to change)