Thanks for your interest in improving the project! This document provides a step-by-step guide for general contributions to Spinup.
We have a slack, join using the invite link.
If you have a specific idea of a fix or update, follow these steps below to submit a PR:
-
Fork the Spinup repo, and then clone it:
export user={your github. profile name} git clone [email protected]:${user}/spinup.git
-
Set your cloned local to track the upstream repository:
cd spinup git remote add upstream https://github.com/spinup-host/spinup
-
Disable pushing to upstream master:
git remote set-url --push upstream no_push git remote -v
The output should look like:
origin [email protected]:$(user)/spinup.git (fetch) origin [email protected]:$(user)/spinup.git (push) upstream https://github.com/spinup-host/spinup (fetch) upstream no_push (push)
-
Get your local master up-to-date and create your working branch:
git fetch upstream git checkout master git rebase upstream/master git checkout -b myfeature
-
Run the following commands to keep your branch in sync:
git fetch upstream git rebase upstream/master
-
Commit your changes:
git add -A git commit --signoff
-
Push your changes to the remote branch:
git push -f origin myfeature
- Visit your fork at GitHub.
- Click the Compare & pull request button next to your
myfeature
branch. - Edit the description of the pull request to match your changes.
Once your pull request has been opened, it will be assigned to at least two reviewers. The reviewers will do a thorough code review of correctness, bugs, opportunities for improvement, documentation and comments, and style.
Commit changes made in response to review comments to the same branch on your fork.