Contributing
Here's a step-by-step example of how to contribute to flooder
.
Fork the repository
On GitHub, click "Fork" to create your personal copy of the repository in your GitHub account, then
clone your fork. In the following, lets call the fork flooder-devel
.
Add upstream remote
Sync your local main
Surely, if you just forked, everything will be in sync (but just to be sure :)
Create a feature branch
Next, we create a feature branch which will contain our adjustments/enhancements/etc.
Make changes and commit
Once you are done with your changes, commit.
What if upstream/main
divereged in the meantime (e.g., a PR
got merged or so)?
Fix files in case of conflicts, then add them and continue the rebase.
Push your branch to your fork
Open a PR on GitHub
Finally, create a pull request on GitHub.
- Navigate to your fork on GitHub.
- Click "Compare & pull request".
- Submit the pull request to the upstream repository.
PR's will be reviewed by the main developers of flooder
, possibly commented, and then merged in case of no conflicts or concerns.
Cleanup
Once the PR is merged, we cleanup the branch in the forked repo.