Skip to content

Latest commit

 

History

History
89 lines (62 loc) · 3.04 KB

CONTRIBUTING.md

File metadata and controls

89 lines (62 loc) · 3.04 KB

Contributing

First off, thank you for considering contributing to Submiss!

1. Where do I go from here?

If you've noticed a bug or have a question that doesn't belong on the wiki, then search the issue tracker to see if someone else in the community has already created a ticket regarding your issue. If not, feel free to go ahead and make one!

2. Did you find a bug?

  • Ensure the bug was not already reported by searching on GitHub under Issues.

  • If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a title and clear description, as much relevant information as possible, and a code sample or an executable test case demonstrating the expected behavior that is not happening.

3. I can fix this!

At this point, you're ready to make your changes! Feel free to ask for help!

If this is something you think you can fix, then fork SUBMISS and create a branch with a descriptive name.

A good branch name would be (where issue #325 is the ticket you're working on):

git checkout develop
git checkout -b 325-add-mynewchanges

4. Code of Conduct

By being part of our development team and community, please abide the rules in our Code of Conduct file! For further information on how to report inapropriate behaviour by others, check the Enforcements-Section in the Code Of Conduct. Thank you for being a nice person!

5. Code Styles, Guildlines & Inspections

Since we're trying to keep the code structured, readable and standardised, please check out and implement our Code Styles & Inspections if you are using IntelliJ IDEA.

6. Make a pull request

At this point, you should switch back to your master branch and make sure it's up to date with the master branch:

git remote add upstream [email protected]/StadtBern/SUBMISS.git
git checkout master
git pull upstream master

Then update your feature branch from your local copy of master, and push it!

git checkout 325-add-mynewchanges
git rebase master
git push --set-upstream origin 325-add-mynewchanges

Finally, go to GitHub and make a Pull Request

7. Keeping your pull request updated

If a maintainer asks you to "rebase" your pull request, they're saying that a lot of code has changed, and that you need to update your branch so it's easier to merge.

To learn more about rebasing in Git, there are a lot of good resources, but here's the suggested workflow:

git checkout 325-add-mynewchanges
git pull --rebase upstream develop
git push --force-with-lease 325-add-mynewchanges