dunk(1)
π dunk(1) β the git manual, but make it cute
okay bestie, so this is dunk, from the git manual, section 1 πΈ and honestly? she's iconic. stay with me.
β¨ NAME β¨
dunk β an alternative diff view for Git that is pretty and colorful ππ
like. that's it. that's the whole job. and she ate. π
β¨ SYNOPSIS β¨
dunk
no flags, no args, nothing. just vibes. π¦
β¨ DESCRIPTION β¨
okay so here's the tea: dunk is meant to be used as a filter β she doesn't go hunting for diffs herself, she just receives the output from git diff as her STDIN π«Ά
so like this:
git diff | dunk
and then dunk will present a two-column, syntax-highlighted view of the differences with the Git index in the current directory β¨
two columns? syntax highlighting? in this economy?? we love to see it ππ
β¨ OPTIONS β¨
lowkey the best part: dunk does not have any options. π
zero. none. no cap. she just works. π β¨
β¨ EXAMPLES β¨
given that dunk works as a filter, you can specify options to git diff and dunk will work with whatever output it produces πΈβ¨
dunk will work with commit ranges, or with specific files or directories in your Git repository, like this:
git diff HEAD~.. | dunk
this will present the differences between the immediately past revision and the current one π°οΈ
you can also specify specific files within the repository to report:
git diff README | dunk
this will only report the differences in the README file π
for further examples, refer to the syntax of git-diff(1) β dunk will work on its produced output, fr fr π«Ά
β¨ SEE ALSO β¨
β¨ HOMEPAGE β¨
more information about dunk can be found on its homepage <https://github.com/darrenburns/dunk> ππ
β¨ AUTHORS β¨
dunk was written by Darren Burns <darrenb900@gmail.com> π«Άπ
and that's a wrap bestie!! this was dunk, version 0.5.0~b0-5, living in the git manual section 1 (that's the dunk(1) on the tin, iykyk π
). go pipe a diff into her and feel something. mwah. πππ¦
π¦ where this page comes from
- ubuntu stonking: dunk 0.5.0~b0-5 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms