...
- Check out the code:
git checkout TRAFODION-1507
- Make the requested changes.
- Run regression tests, if applicable.
- Commit the changes with appropriate change information:
git commit -a
- Push the changes back to your private git fork:
git push trafdeveloper_fork TRAFODION-1507
Info |
---|
The |
Warning |
---|
Do not use the |
Resolve Merge Conflicts
Sometimes someone else's changes reach the target branch (e.g., master) before yours and has a merge conflict with your changes. Github will flag that situation in the status of your pull request. Before your changes can be merged, you must resolve conflicts in your pull request. This is the same process as above, making code changes, except that a merge command is done to create the changes.
Using the prior example:
- Check out the code:
git checkout TRAFODION-1507
- git fetch origin
- git merge origin/master
- Resolve conflicts.
- Run regression tests, if applicable.
- Commit the changes with appropriate change information:
git commit -a
- Push the changes back to your private git fork:
git push trafdeveloper_fork TRAFODION-1507
Change Merge
If all is well, a committer will merge your change into the Apache repository, which is mirrored on GitHub. You may be asked to close out the JIRA or other follow up.
Your change is done. Thanks for your contribution to Trafodion.
...