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



git-debcherry - export commits touching upstream source as patches


git-debcherry [options] upstream [integration]


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



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.


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.


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.


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

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


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.

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
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 2
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 3
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 4
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 5
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • 6
    gerbv  a Gerber (RS-274X) viewer
    gerbv a Gerber (RS-274X) viewer
    Gerbv is an open source Gerber file
    (RS-274X only) viewer. Gerbv lets you
    load several files on top of each other,
    do measurements on the displayed image,
    etc. ...
    Download gerbv a Gerber (RS-274X) viewer
  • 7
    I/O performance Analysis Tool.
    Audience: Developers, Information
    Technology, Science/Research, System
    Administrators. User interface: Win32
    (MS Windows). Progr...
    Download Iometer
  • More »

Linux commands