Please have a look at the commit history for examples.
first line describes in present tense what the commit does
Problem: If it is not described in the first line
Solution: If it is not described in the first line
- related/fixes/contributes to link to issue
- changes in this commit i.e. bug fix/refactoring
Commits referencing issues will turn up in the release history.
You can create a pull request in the following way.
- fork the repository
- Your fork is present at https://github.com/YOURUSERNAME/mundraub-android.
Replace
YOURUSERNAME
with your user name in the following. - Clone the fork
You can also use ssh with GitHub, if you have generated a key.
git clone https://github.com/YOURUSERNAME/mundraub-android.git
git clone [email protected]:YOURUSERNAME/mundraub-android.git
- Create a new branch for the contribution. Replace
BRANCHNAME
with a suitable name without spaces in the following.git checkout -b BRANCHNAME
- Do your changes.
- Create a commit using the commit format described above.
git commit -m"... ... ..."
- Push the commit.
git push -u origin BRANCHNAME
- Create a pull request. Replace
YOURUSERNAME
andBRANCHNAME
in this url https://github.com/niccokunzmann/mundraub-android/compare/master...YOURUSERNAME:BRANCHNAME or configure it withcompare across forks
: https://github.com/niccokunzmann/mundraub-android/compare - Describe the pull request. Reference the issue.
- Create the pull request. We will review it!