Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 2.7 KB

CONTRIBUTING.md

File metadata and controls

64 lines (48 loc) · 2.7 KB

Contributing

Welcome to the project

Contributions are welcomed and encouraged. Before you contribute, please read our guidelines carefully.

Steps to contributing (GUI)

  1. Create a GitHub account.
  2. Fork this repository to your GitHub account.
  3. Check for issues whether your contribution hasn't been proposed already.
  4. (Optional) Create a new branch with a name based on what you want to add.
  5. Edit your fork. Make sure to document your changes in the commit message.
  6. Create a pull request.
  7. (Optional) If you created a new branch and the pull request is merged, feel free to delete your branch.

Steps to contributing (CLI)

  1. Create a GitHub account.

  2. Install git via your package manager.

  3. (Optional) Add SSH keys to your account.

  4. (Optional) Add GPG keys to your account.

  5. Fork this repository to your GitHub account.

  6. Clone your fork with git clone your-github-repo.

  7. (Optional) Create a new branch with git checkout -b new-feature-or-change.

  8. Make your changes. Make sure to document your changes in the commit message.

  9. Push the changes to your repository with these commands:

    git add .
    git commit -am "YOUR COMMIT MESSAGE HERE"
    (Optional) git push --set-upstream origin <branch_name>
    git push origin
  10. Create a pull request.

  11. (Optional) If you created a new branch and the pull request is merged, feel free to delete your branch or run these commands:

    git checkout master
    git push --delete origin <branch_name>
    git branch -d <branch_name>

How to keep your fork in sync with the upstream repository

Here is a short tutorial from Michael Tunnel

Steps to syncing with upstream repository (CLI)

  1. Add a new remote for upstream repository with this command:

    git remote add upstream https://github.com/KillYourFM/contribute-foss.git
  2. Sync with upstream repository with these commands:

    git pull origin master
    git pull upstream master
    git push origin master