- Loading...
...
The first step in the Skara workflow is to To create a personal fork of an existing OpenJDK repository. To create personal fork
Code Block |
---|
$ git fork https://github.com/openjdk/<REPO> |
upstream repository, run the command git fork <URL>
. For example, to create a personal fork of the jdk repository, run:
Code Block | ||
---|---|---|
| ||
$ git fork https://github.com/openjdk/jdk |
The above command git fork
will also clone your personal fork to a local repository on your computer.
...
...
To publish a local branch to a remote repository, run the following command:
Code Block | ||
---|---|---|
| ||
$ git publish |
To create a pull request first create a create a pull request first create a personal fork, then create a local branch in the local clone of your personal fork:
Code Block | ||
---|---|---|
| ||
$ git checkout -b JDK-8123456 |
Do your work and then create a commit:
Code Block | ||
---|---|---|
| ||
$ git commit -m "Fixed a race condition" |
Finally create your pull request. Make changes to a number of files, then create a commit. Publish your local branch and then create a pull request from your published branch:
Code Block | ||
---|---|---|
| ||
$ git pr create --jcheck --publish |
Notes:
--jcheck
to git pr create
--publish
to git pr create