Contributions are welcomed and encouraged. Before you contribute, please read our guidelines carefully.
- Create a GitHub account.
- Fork this repository to your GitHub account.
- Check for issues whether your contribution hasn't been proposed already.
- (Optional) Create a new branch with a name based on what you want to add.
- Edit your fork. Make sure to document your changes in the commit message.
- Create a pull request.
- (Optional) If you created a new branch and the pull request is merged, feel free to delete your branch.
-
Create a GitHub account.
-
Install
git
via your package manager. -
(Optional) Add SSH keys to your account.
-
(Optional) Add GPG keys to your account.
-
Fork this repository to your GitHub account.
-
Clone your fork with
git clone
your-github-repo. -
(Optional) Create a new branch with
git checkout -b
new-feature-or-change. -
Make your changes. Make sure to document your changes in the commit message.
-
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
-
Create a pull request.
-
(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>
Here is a short tutorial from Michael Tunnel
-
Add a new remote for upstream repository with this command:
git remote add upstream https://github.com/KillYourFM/contribute-foss.git
-
Sync with upstream repository with these commands:
git pull origin master git pull upstream master git push origin master