Bootstrapping (need to be done only once)
You will not have write permission to github apache mirror, you need to
fork https://github.com/apache/incubator-netbeans to your own repositories.
You need to clone the forked repository and setup name and mail. This also may help git rebase to fullfil its task.
git config --global user.name "John Doe"
git config --global user.email "john@doe.org"
--global can be removed if you want to setup only the current repository.
Uses branches
It's more confortable to use branches for doing PR because the PR will have it's own lifecycle on his dedicated branch.
creating a branch from master required 3 steps
- git checkout master
- git branch mywork
- git checkout mywork
You can then code and commit and push. You will need an ICLA (Individual Contributor License Agreement) for important modifications
commit message related to JIRA issue must start with [NETBEANS-<issue number>]