• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Skara
  4. CLI Tools

Page History

Versions Compared

Old Version 40

changes.mady.by.user Erik Helin

Saved on Apr 21, 2020

compared with

New Version 41

changes.mady.by.user Erik Helin

Saved on Apr 21, 2020

  • Previous Change: Difference between versions 39 and 40
  • Next Change: Difference between versions 41 and 42
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using

Creating a personal fork

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
languagebash
$ 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.

...

Publish a

...

local branch

To publish a local branch to a remote repository, run the following command:

Code Block
languagebash
$ git publish

Creating a pull request

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
languagebash
$ git checkout -b JDK-8123456

Do your work and then create a commit:

Code Block
languagebash
$ 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
languagebash
$ git pr create --jcheck --publish

Notes:

  • If you want to run jcheck on your changes before the pull request is created, pass the flag --jcheck to git pr create
  • If you want the local branch to be published automatically, pass the flag --publish to git pr create
Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 367, "requestCorrelationId": "30a81b1bf554ec45"}