Working on Features

The following steps ensure that the main branch doesn't get mangled.

  1. Pulling remote changes (getting up to date)
    • Use git fetch and git pull origin master to update your local files.
  2. Using git checkout -b branchName
    • This command will create a new branch for us to develop on.
    • You can still git add . and git commit -m "your message" like you did before
  3. Using git push origin branchName
    • This ensures that you're pushing your changes to the new branch.
  4. Creating a pull request
    • A pull request is a process where you 'propose' your changes to reviewers you assign.
    • You will see a prompt on the GitHub project page
      Result (Also note the 2 branches)
      Result pt. 2
  5. Profit $$$
Please drop a message in the discord if you need help ^^