Understand and apply diffs — colored output, context-aware, built in Rust.
# Explain what a diff does in plain English
patchwork explain changes.patch
git diff | patchwork explain -
# Colored side-by-side diff between two files
patchwork diff old.rs new.rs
# Apply a patch to files on disk
patchwork apply changes.patch --root ./my-project
# Preview without writing
patchwork apply changes.patch --dry-runcargo install --git https://github.com/niklasmarderx/patchwork● src/main.rs
+1 / -1 line(s) across 1 hunk(s)
Hunk 1 (line 3): replaces 1 line(s) with 1
Licensed under either of MIT or Apache-2.0 at your option.