Update our contributor guidelines for PRs
This commit is contained in:
parent
372455c30a
commit
393c7c3e97
|
@ -14,8 +14,8 @@ Ensure Git is Setup
|
||||||
# real name and not a username
|
# real name and not a username
|
||||||
./scripts/setup-git.sh
|
./scripts/setup-git.sh
|
||||||
|
|
||||||
Create Your Patch
|
Create Your Commits
|
||||||
-----------------
|
-------------------
|
||||||
|
|
||||||
# create a topic/feature branch in your local repository
|
# create a topic/feature branch in your local repository
|
||||||
git checkout -b myfeature
|
git checkout -b myfeature
|
||||||
|
@ -34,17 +34,29 @@ Create Your Patch
|
||||||
# review changes; ensure your author name is correct
|
# review changes; ensure your author name is correct
|
||||||
git log -p
|
git log -p
|
||||||
|
|
||||||
# create patch files
|
Create a Pull Request
|
||||||
git format-patch origin/master..HEAD
|
---------------------
|
||||||
|
|
||||||
# you'll now have a number of *.patch files in your current
|
|
||||||
# directory
|
|
||||||
|
|
||||||
# navigate to the FreeSWITCH JIRA
|
# navigate to the FreeSWITCH JIRA
|
||||||
chromium http://jira.freeswitch.org/
|
chromium http://jira.freeswitch.org/
|
||||||
|
|
||||||
# create an account in JIRA and create a new issue;
|
# create an account in JIRA and create a new issue
|
||||||
# attach the patch file(s) you created to the issue
|
|
||||||
|
# navigate to FreeSWITCH Stash
|
||||||
|
chromium http://stash.freeswitch.org/
|
||||||
|
|
||||||
|
# create an account in Stash; create a forked FS repository; read
|
||||||
|
# the details here:
|
||||||
|
chromium https://confluence.freeswitch.org/display/FREESWITCH/Pull+Requests
|
||||||
|
|
||||||
|
# add your repository as a remote (change to your username)
|
||||||
|
git remote add stash ssh://git@stash.freeswitch.org:7999/~johndoe/freeswitch.git
|
||||||
|
|
||||||
|
# push your changes to a branch
|
||||||
|
git push stash +HEAD:myfeature
|
||||||
|
|
||||||
|
# create a pull request as described here:
|
||||||
|
chromium https://confluence.freeswitch.org/display/FREESWITCH/Pull+Requests
|
||||||
|
|
||||||
Guidelines for a Good Commit
|
Guidelines for a Good Commit
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
Loading…
Reference in New Issue