GIT-UBUNTU-MERGE(1)
π GIT-UBUNTU-MERGE π
okay bestie, welcome to the Git-Ubuntu Manual page for git-ubuntu-merge β the one that helps you do an Ubuntu merge of a source package in a Git repository. it's giving main character energy for merge season, fr fr π¦
β¨ NAME β¨
git-ubuntu-merge β perform an Ubuntu merge of a source package in a Git repository π
πΈ SYNOPSIS πΈ
git ubuntu merge [--bug <bug>] [--release <release>] [-d | --directory
<directory>] [-f | --force] [--tag-only] start|finish <commitish>
[<onto>]
π DESCRIPTION π
so, Ubuntu packages often have changes relative to their Debian bases β we call that the "Ubuntu delta". iconic, but also kind of a lot. git ubuntu merge helps you perform an Ubuntu merge by replaying that Ubuntu delta on a newer version from Debian, and it does it as a git-rebase(1). no cap. once you've done an Ubuntu merge with this workflow, future merges can just be simple rebases β obsessed. π
in the most general case, you kick off an Ubuntu merge with git ubuntu merge start pkg/ubuntu/devel pkg/debian/sid and you wrap it up with git ubuntu merge finish pkg/ubuntu/devel pkg/debian/sid. periodt.
the brief outline of the merge workflow supported by git ubuntu merge is:
- Obtain git tree with
git ubuntu clone(1). - Split the current Ubuntu delta into a sequence of logical commits suitable for rebasing.
- Rebase the logical Ubuntu delta onto the new Debian version.
- Build and test the resulting source package with
git ubuntu build(1)andautopkgtest(1). - Reconstruct the
debian/changelogfor the new source package. - Update the metadata for the new source package, such as the maintainer.
- Upload the resulting source package to the Ubuntu archive.
a more extensive discussion of the workflow lives at https://wiki.ubuntu.com/UbuntuDevelopment/Merging/GitWorkflow#Detailed_workflow β go read it, bestie, it's highkey useful π
π OPTIONS π
start | finishβ which step of the merge you're on. whenstartis specified, the current delta will be reconstructed andHEADwill point to the result. whenfinishis specified, thedebian/changelogwill be reconstructed and package metadata will be updated. and bestie,startmust be run beforefinishβ that's the order, no skipping π₯--bug <bug>β when you pass this to thestartstep, the tags created will be underlp<bug>/in the repository. when you pass it to thefinishstep, the Lauchpad bug<bug>will be closed by the resultingdebian/changelog. cute and efficient β¨--release <release>β the<release>to use in the final changelog. if you don't specify it, the current development release is assumed. π-d <directory>,--directory <directory>β the local directory to perform the merge in. if not specified, the current directory is used. keeping it cozy π-f | --forceβ overwrite any tags, if they already exist. spicy, use with intent πΆοΈ--tag-onlyβ in some cases, the full workflow is not desired. when this flag is set, only the tags for"old/ubuntu","old/debian"and"new/debian"are created. just the tags, nothing else, mwah π<commitish>β a Git commitish indicating the current Ubuntu changes to merge to Debian.[<onto>]β a Git commitish indicating the new Debian version to merge to. if not specified,"debian/sid"is assumed. and listen: if a local branch with name<onto>does not exist, it will be created from the remote-tracking branch"pkg/<onto>". it literally just appears for you, queen π
β EXIT STATUS β
git ubuntu merge exits with status 0 if the command completes successfully. git ubuntu merge exits with nonzero exit status on errors. so like, 0 = slay, nonzero = π
π¦ REPORTING BUGS π¦
found a bug? report bugs at https://bugs.launchpad.net/git-ubuntu . we wanna know, bestie π«Ά
π§ SEE ALSO π§
git-rebase(1), git-ubuntu-clone(1), git-ubuntu-build(1), autopkgtest(1)
π GIT-UBUNTU π
part of the git-ubuntu(1) suite. you're in good company π
that's the whole page, bestie β Git-Ubuntu 0.2, dated 2017-07-19, and yeah the header/footer said GIT-UBUNTU-MERGE(1) three times but we only needed the vibe once. go forth and merge, you absolute icon πβ¨
π¦ where this page comes from
- ubuntu questing: git-ubuntu 1.1-2
- ubuntu resolute: git-ubuntu 1.1-2build1 Β· GPL-3.0-only
- ubuntu stonking: git-ubuntu 1.2-3 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms