create a pull request tutorial

This commit is contained in:
Ereshkigal 2021-02-05 19:46:40 +01:00
parent 766a652f22
commit bd79266208
11 changed files with 49 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 239 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 204 KiB

View File

@ -0,0 +1,49 @@
## Requirements
- An account on https://dev.offline-tarkov.com/
- Motivation to contribute to a repo
## How-to create a pull request
This will learn you how to contribute to SPT-Aki repositories on dev.sp-tarkov.com by using the website.
### Forking a project and editing its files
1. Fork the project you want to contribute to.
![](./assets/img/spt-aki/tutorials/pull-requests/img01.png)
2. *(optional)* Change the forked repository name and informations
![](./assets/img/spt-aki/tutorials/pull-requests/img02.png)
3. By clicking the "Fork Repository" it should bring you directly to your newly "copied" repository.
You can now directly modify the file from the gitea website file editor.
![](./assets/img/spt-aki/tutorials/pull-requests/img03.png)
![](./assets/img/spt-aki/tutorials/pull-requests/img04.png)
4. Add a helpful commit message (at the bottom of the page) and click on the "Commit changes" button.
![](./assets/img/spt-aki/tutorials/pull-requests/img05.png)
You should see your changes in the file.
![](./assets/img/spt-aki/tutorials/pull-requests/img06.png)
<div class="doc-info">You can now create a pull request on the original repository to submit your changes!</div>
### Creating the actual Pull Request
1. Go onto the original repository page and click the "New Pull Request" button.
![](./assets/img/spt-aki/tutorials/pull-requests/img07.png)
2. Select your repository in the right dropdown menu (should update the page and highlight the changes between your fork and the original repository).
![](./assets/img/spt-aki/tutorials/pull-requests/img08.png)
3. Click the "New Pull Request" button.
![](./assets/img/spt-aki/tutorials/pull-requests/img09.png)
4. Fill the form with informations that would help others better understand your changes and click the "Create Pull Request" button.
![](./assets/img/spt-aki/tutorials/pull-requests/img10.png)
<div class="doc-info">You have now created a pull request!</div>
## Official links
**Guilded link**: https://www.guilded.gg/senkospub
**Written by Sgt.Floof**