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

    Loading...
  1. Dashboard
  2. Skara
  3. Skara
  4. Backports

Page History

Versions Compared

Old Version 19

changes.mady.by.user Ludvig Janiuk

Saved on Apr 01, 2022

compared with

New Version 20

changes.mady.by.user Ludvig Janiuk

Saved on May 19, 2022

  • Previous Change: Difference between versions 18 and 19
  • Next Change: Difference between versions 20 and 21
  • View Page History

Key

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

...

Use the Skara CLI tool git-backport to try to automatically create a backport pull request for the given commit, for example:


Code Block
git backport https://github.com/openjdk/jdk 5a526c1c5716f6d9a7fc94741bcdb2f424d342df

...


If the commit applied cleanly onto the target repository then integrate the resulting backport pull request with git-pr integrate, for example:


Code Block
git pr integrate 17

...


If the commit could not be applied cleanly, then the conflicts must be manually resolved. After the conflicts have been resolved then a pull request must be created with the title "Backport <hash>". An example of how to do this is shown below:


Code Block
$ git checkout -b backport-5a526c1c
$ git fetch https://github.com/openjdk/jdk 5a526c1c5716f6d9a7fc94741bcdb2f424d342df
$ git cherry-pick --no-commit FETCH_HEAD
$ # resolve conflicts
$ git commit -m 'Backport 5a526c1c5716f6d9a7fc94741bcdb2f424d342df'
$ git push -u origin backport-5a526c1c

...

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.

  • Adaptavist ThemeBuilder Powered by Atlassian Confluence 7.13.8
  • Adaptavist ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Adaptavist ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 143, "requestCorrelationId": "08f9c25637684914"}