darrenburns / dunk

Prettier git diffs in the terminal 🎨
758 stars 15 forks source link

Improved git dunk alias #21

Closed jrpie closed 1 year ago

jrpie commented 1 year ago

I would suggest to use

git config --global alias.dunk '!git_dunk() { git diff $* | dunk; }; git_dunk'

instead of the alias in the README as this allows git dunk to be used in the same way as git diff, i.e. it enables git dunk abcde or git dunk abcde 12345

jrpie commented 1 year ago

identical to #13