EnglishFrenchSpanish

OnWorks favicon

git-debcherry - Online in the Cloud

Run git-debcherry in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command git-debcherry that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


git-debcherry - export commits touching upstream source as patches

SYNOPSIS


git-debcherry [options] upstream [integration]

DESCRIPTION


This program will analyze git history and try to create a set of patches meeting the
following conditions:

1. Is guaranteed to apply to upstream

2. Produces the same work tree as integration, outside ./debian

3. Does not touch ./debian

4. As much as possible, matches the git history from upstream to integration

BRANCH PARAMETERS


upstream

This ref should be suitable for export as a .orig.tar.gz. In particular note that
quilt has no way of deleting files that does not include the material to be deleted
in the patch, so your upstream branch should include any necessary file deletions.

integration

This branch contains all debian packaging, plus any changes introduced to upstream
source by the debian packager. This argument is optional. If integration is not
passed git-debcherry will use HEAD.

OPTIONS


The following options are available:

-o, --output-directory directory

Place output (patches and series file) in directory. If unspecified, output
patches (in mbox format) to stdout.

-s, --stat

Only output diffstat of patches

-d, --debug
Output some debugging information. Probably only useful to developers or those
reporting bugs.

EXAMPLE


To export the patches between tag v3.0+dfsg1 and the current branch into ./debian/patches:

$ git-debcherry -o debian/patches v3.0+dfsg1

NOTES


PERFORMANCE
git-debcherry currently uses git-filter-branch(1) to rewrite all commits on the
integration branch not present upstream. Depending on the number of such commits, this can
be noticeably slow.

DELETED FILES
git-debcherry currently follows dpkg-source(1) in ignoring file deletions. This has the
positive side effect of not bloating the patches, but if you really need the files deleted
for the build and/or licensing reasons, you should delete them in upstream.

Use git-debcherry online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

Ad