Git workflow
Gitpay doesn't change how you work with Git. This is the workflow that passes Gitpay's checks the first time.
Gitpay only reads your pull request on GitHub to decide whether the bounty can be paid. Follow the project’s own contribution guide, and keep these steps in mind.
1. Fork and branch
If you don’t have write access to the repository, fork it and clone your fork:
git clone https://github.com/<your-username>/<repo>.git
cd <repo>
git remote add upstream https://github.com/<owner>/<repo>.git
git fetch upstream
git checkout -b fix-123-short-description upstream/main
Use the project’s default branch, main, master or whatever it uses.
2. Commit and push
git add .
git commit -m "Fix login redirect loop (#123)"
git push origin fix-123-short-description
3. Open the pull request against the original repository
Open the pull request from your fork’s branch into the original repository, the one the issue belongs to. A pull request merged into your own fork doesn’t count.
In the description, reference the issue with a closing keyword:
Fixes #123
Closes #123, Resolves #123 or the full issue URL work too. A closing keyword does two things Gitpay checks: it references the issue, and GitHub closes the issue when the pull request is merged.
4. After the merge
Make sure the issue is closed, then send the pull request URL on Gitpay. See Submit a solution.
Checklist
- Signed in to Gitpay with the same GitHub account that opened the pull request
- Pull request opened against the original repository
- Description references the issue, with
Fixes #123or the issue URL - Pull request merged
- Issue closed
- Solution sent on Gitpay