Skip to main content

Cherry Files Toolkit

A terminal UI (built with Textual) for moving work between git branches at the file level — pick the final state of the files you want and apply them to another branch as one clean commit, no commit-by-commit cherry-picking.

It ships two tools as tabs in one TUI:

  • Cherry Files Diff — see every file added, modified, or deleted on a branch since it diverged from its base, grouped as a scannable tree.
  • Cherry Files Picker — select files from your current branch and commit their current content onto a target branch.

The idea

This project is a new iteration of my previous Cherry Files Picker. The goal is the same — move the final state of selected files between branches as one clean commit — but this version upgrades the UI to a full TUI and adds a second module, Cherry Files Diff, for understanding branch divergence at a glance.

Install

Recommended for regular use — pipx installs the tool in its own isolated environment and makes the command available everywhere:

pipx install cherry-files-toolkit

If you are installing from a local checkout while developing, use an editable install instead:

python -m venv .venv
source .venv/bin/activate
pip install -e .

Requires Python 3.10+ and git on your PATH.

Usage

Run it from inside any git repository:

cherry-files-toolkit

The app opens with Cherry Files Diff selected. Use the footer shortcuts to move between tabs:

  • Ctrl+1 — Cherry Files Diff
  • Ctrl+2 — Cherry Files Picker
  • Ctrl+Q — quit

Cherry Files Diff tab

Explains branch divergence at the file level, so you can recover context on a branch you don't know well:

  1. Pick the divergent branch (the one with the work) and its base branch.
  2. Start Diff Checker finds the point where they diverged and lists every file created, modified, or deleted since — with per-category counts and a directory tree for fast scanning.

Cherry Files Picker tab

Transfers the final approved state of selected files from your working branch to another branch:

  1. Source branch is pre-filled with your current branch.
  2. Pick a target branch — where the work should land.
  3. Search and select the files to move. Selections persist while you filter.
  4. Write a commit title and description, review the selected files, and hit Cherry Pick Files. The toolkit commits those files' current content onto the target branch in a single commit.

Use it when you know which files are done and want them on another branch without replaying the messy commit history that produced them.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cherry_files_toolkit-0.1.2.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cherry_files_toolkit-0.1.2-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file cherry_files_toolkit-0.1.2.tar.gz.

File metadata

  • Download URL: cherry_files_toolkit-0.1.2.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.3

File hashes

Hashes for cherry_files_toolkit-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e93216a5b69efa7ccf2768768f7e6709ec88062ecb3644423482bdb5073d3a8d
MD5 265e6fe9d2e08e41b8c0de66b0ea0047
BLAKE2b-256 a4552b2e6ec11a09896066e4e04cef3673e84bdda99c1c453e74f3f5fb38b89e

See more details on using hashes here.

File details

Details for the file cherry_files_toolkit-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cherry_files_toolkit-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9d4fc5180f5da91feefb67add49706ee04331b9b90e2d462a79309ca72d1d39e
MD5 edf5aa1e47f2b7d1cbe2a5e10d881e52
BLAKE2b-256 b9e337b06cab7d24e77947f1477a6c8fc73c5ab107c355dc0095343c6d753987

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page