diff options
| author | Francesco Borzì <borzifrancesco@gmail.com> | 2019-08-15 22:52:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-15 22:52:12 +0200 |
| commit | 62b2afb56eb20e97c4f40e197c37faefabf0668f (patch) | |
| tree | 5b47c8c41bfa96d8becbac2b4df29a07be599372 /docs/Contribute.md | |
| parent | 8237580b293c9996295fa498eb322764de88e882 (diff) | |
| download | wiki-62b2afb56eb20e97c4f40e197c37faefabf0668f.tar.gz wiki-62b2afb56eb20e97c4f40e197c37faefabf0668f.tar.bz2 wiki-62b2afb56eb20e97c4f40e197c37faefabf0668f.zip | |
How to test a PR tutorial (#111)
Diffstat (limited to 'docs/Contribute.md')
| -rw-r--r-- | docs/Contribute.md | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/docs/Contribute.md b/docs/Contribute.md index b7c4e34..3a87feb 100644 --- a/docs/Contribute.md +++ b/docs/Contribute.md @@ -41,38 +41,7 @@ If **(and only if)** the bug hasn't been reported yet, you can [open an issue](h ## How to create a Pull Request -Official GitHub tutorial [here](https://help.github.com/articles/creating-a-pull-request/). - -In order to create a Pull Request (PR), you have to fork the [AzerothCore repository](https://github.com/azerothcore/azerothcore-wotlk) (via your web browser, using the top-right Fork button) and clone your fork locally with `git clone https://github.com/YOUR_USERNAME/azerothcore-wotlk.git`. - -If you already have a local fork, remember to [sync it](Syncing-your-fork) before creating a new Pull Request to avoid conflicts. - -Open a terminal and move to your local clone of the fork, then create a new branch by typing: - -`git checkout -b my-branch` (Note: **my-branch** is an arbitrary name, choose whatever you want here) - -Now add your changes to the code. - -**IMPORTANT:** If you are going to add some database contents or structure changes, read [how to deal with SQL files](Dealing-with-SQL-files) first. - -Then you can commit your changes and push them: - -``` -## Select all your modified files -git add . -## Commit your changes (you can simply type "git commit -v" too) -git commit -v -m "Commit message here" -## origin = your git remote (the url of your fork) -git push origin my-branch -``` - -Now via web open your repository, switch to your new branch and click on _New pull request_ and compare our original repo/master branch with your fork/my-branch. - -**IMPORTANT:** remember to create **one separate PR for each feature/fix (use a separate branch for each PR)** - -### Describe the testing steps - -Please describe how other users should test your PR. This way people can easily check it and it will be faster to be merged. +- Read [How to test a PR](How-to-create-a-PR). ### Giving credit to the author of code |
