git-branchless-difftool(1)
π NAME π
Okay so welcome to the git-branchless-difftool(1) page from the General Commands Manual, bestie. The command is difftool β it uses the partial commit selector UI as a Git-compatible difftool; see git-difftool(1) for more information on Git difftools. No cap, that's the whole name vibe.
β¨ SYNOPSIS β¨
difftool [-d|--dir-diff] [--read-only] [-N|--dry-run] [-b|--base]
[-o|--output] [-h|--help] <LEFT> <RIGHT>
π¦ DESCRIPTION π¦
Use the partial commit selector UI as a Git-compatible difftool; see git-difftool(1) for more information on Git difftools.
Like, literally that's the flex: this thing lets you use that partial commit selector UI as a Git-compatible difftool. If you want the deeper Git difftool lore, git-difftool(1) is right there π
π OPTIONS π
-d,--dir-diffβ instead of comparing two files, compare two directories recursively. Directory-on-directory comparison, iconic β¨--read-onlyβ disable all editing controls and do not write the selected commit contents to disk. It's giving look-but-don't-touch π«Ά-N,--dry-runβ show what would have been written to disk as part of the commit selection, but do not actually write it. Preview era, no accidental file writes π-b,--base <BASE>β render the interface as a mergetool instead of a difftool and use this file as the base of a three-way diff as part of resolving merge conflicts.-o,--output <OUTPUT>β write the resolved merge conflicts to this file.-h,--helpβ print help.<LEFT>β the left-hand file to compare (or directory if--dir-diffis passed).<RIGHT>β the right-hand file to compare (or directory if--dir-diffis passed).
Cute sign-off π: the source/version is difftool, the manual is git-branchless-difftool(1), and the original footer didn't print a date, so I'm not inventing one β periodt π
π¦ where this page comes from
- arch rolling: git-branchless 0.11.1-2 Β· Apache-2.0 AND MIT
- nixpkgs unstable: git-branchless 0.11.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms