---
# System prepended metadata

title: Pull Request Guide - Toolbox 2021
tags: [' 2021', toolbox]

---

---
tags: toolbox, 2021
---
{%hackmd theme-dark %}
# Pull Request Guide - Toolbox 2021
Follow these steps from top to bottom to *git* a clone of your own fork ready for making event PRs!

## Prerequisites
Refer to this guide only after you have cloned your fork like by following the **Initial Setup** steps found here: https://tgstation13.org/wiki/Setting_up_git

All of the following commands assume you are in your repository's directory. Which you conveniently should be after completing step 6 of the above guide.

If you need assistance with this initial setup process feel free to ask in the #eventsbus and ping or DM Wayland#4200 on the /tg/station discord.

## Add the fork as a Remote and Fetch
`git remote add Wayland https://github.com/Wayland-Smithy/tgstation.git`
`git fetch Wayland`

## Checkout the remote Toolbox branch and Pull latest
`git checkout Wayland/toolbox-2021`
`git pull Wayland toolbox-2021`

## Create and Checkout a new local branch *and prep it for pushing*

`git checkout -b <branch name>`
`git push --set-upstream origin <branch name>`
> Don't forget to replace `<branch name>` with what you want to call it i.e.
`git checkout -b new-toolbox-content`
`git push --set-upstream origin new-toolbox-content`

Note: `git checkout -b` is just shorthand for `git branch create` then `git checkout` under the hood to make a new branch based on the toolbox-2021 one and switch to it all in one go.

After this point when you go to compile and test locally VSC will complain about "Problems" that are from the hacky EVENTMODE define which can be safely ignored:
![](https://i.imgur.com/gCiOr2x.png)

## Make your changes and Push
Finally everything should be ready for you to edit the game files and make your changes. After [committing](https://tgstation13.org/wiki/Setting_up_git#Making_a_code_change) those changes in order to make or update an open PR you must:

`git push`

## Make the Pull Request
Head over to https://github.com/Wayland-Smithy/tgstation and click **Compare & pull request** to create a PR using your new branch.
![](https://i.imgur.com/t8iDrql.png)

The next screen should look as pictured below with your repo and branch in the 2 other boxes on the right for "head repository:" and "compare:"
![](https://i.imgur.com/o9Jo1Yg.png)

## Missing new changes? Pull the new updates
`git pull Wayland toolbox-2021`

## Muiltiple changes at once
Repeat starting at the [Checkout remote Toolbox branch](#Checkout-the-remote-Toolbox-branch-and-Pull-latest) step to work on multiple PRs in parallel.
