dunk(1)

πŸ“¦
version 0.5.0~b0 Β· 3 versions
, in ubuntu stonking

πŸ’… 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