Skip to contents

This guide will help you contribute to the LundTaxR project, even if you have little or no experience with git or GitHub. Follow these steps to make changes and submit them for review.

1. Install Git

2. Clone the Repository

Open a terminal (or Git Bash on Windows) and run:

git clone https://github.com/mattssca/LundTaxR.git
cd LundTaxR

3. Switch to Your Own Branch

In the same temrinal, run the following (replacing name with your name):

git checkout -b name-dev

#e.g
git checkout -b pontus-dev
git checkout -b carina-dev
git checkout -b gottfrid-dev

4. Make Your Changes

  • Edit any code, vignettes, or the README as needed.
  • Save your changes.

5. Stage and Commit Your Changes

git add .
git commit -m "Describe your changes here"

6. Push Your Branch to GitHub

git push origin your-branch-name

7. Create a Pull Request (PR)

  • Go to https://github.com/mattssca/LundTaxR in your web browser.
  • You should see a prompt to “Compare & pull request” for your branch. Click it.
  • Add a description of your changes and submit the pull request.

8. Wait for Review

  • The project maintainer will review your PR and may request changes or approve it.

Tips

  • If you get stuck, ask for help in the project issues or by email.

  • Always work on your own branch, not main.

  • Pull the latest changes from main before starting new work:

    git checkout main
    git pull origin main
    git checkout your-branch-name
    git merge main

Thank you for contributing to LundTaxR!