This captures committer-specific information beyond what's covered in the contributions guide.
Accepting Pull Requests on GitHub
The ASF INRA team maintains a mirror of our git repository over on GitHub.That mirror is strictly one-way: changes from the Apache git get copied over, but not the other way around. Further, the mirror on GitHub is read-only for everyone. Which means we can neither accept nor close pull requests filled there via the GitHub web UI. However, we want to allow for contributions via GitHub Pull Requests. Here's how:
1. Create a branch on your local git repository
You want to make sure that that branch is current with the the master branch on Apache git:
Code Block | ||
---|---|---|
| ||
$ git checkout -b BRANCH_NAME
$ git pull apache master |
This assumes that you called the remote git repository at the ASF "apache". You can name the branch however you want, but it is customary to name them either after the pull request number or the JIRA id.
2. Pull the contribution into that branch
This is as simple as
Code Block | ||
---|---|---|
| ||
$ git pull GIT_REPOSITORY_OF_THE_CONTRIBUTOR BRANCH_NAME_OF_THE_CONTRIBUTION |