• 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 13

changes.mady.by.user Erik Helin

Saved on Mar 09, 2020

compared with

New Version 14

changes.mady.by.user Erik Helin

Saved on Mar 09, 2020

  • Previous Change: Difference between versions 12 and 13
  • Next Change: Difference between versions 14 and 15
  • View Page History

Key

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

...

The above command git fork will also clone your personal fork to a local repository on your computer.

Multiple local clones

Creating a pull request

To create a pull request first create a If you are used to having one local clone of a repository for each change you are working on then that is also supported. The only difference is that you first create a local clone of your personal fork, then create a local branch in that the local clone . Fortunately the Skara git fork command is idempotent - if you already have a personal fork then you will just get that one. Therefore the following commands can be run by those preferring to have one local repository per change they are working onof your personal fork:

Code Block
languagebash
$ git fork https://github.com/openjdk/jdk JDK-8237566
Fork available at: https://github.com/edvbld/jdk
Cloning https://github.com/edvbld/jdk...
Cloning into 'JDK-8237566'...
remote: Enumerating objects: 1019523, done.
remote: Total 1019523 (delta 0), reused 0 (delta 0), pack-reused 1019523
Receiving objects: 100% (1019523/1019523), 372.46 MiB | 4.99 MiB/s, done.
Resolving deltas: 100% (761166/761166), done.
Updating files: 100% (68663/68663), done.
Adding remote 'upstream' for https://github.com/openjdk/jdk...done
$ cd JDK-8237566
$ git checkout -b JDK-8237566
Switched to a new branch 'JDK-8237566'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:

Code Block
languagebash
$ git pr create --jcheck --publish
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.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 409, "requestCorrelationId": "5630fb85d3292a61"}