[tool] diff-so-fancy
2016-10-11 11:10
1 minute read

現在想到什麼都來 PO 一下 XD

https://github.com/so-fancy/diff-so-fancy

拿來幫你把 git diff 變漂亮的東東

// install
$ brew install diff-so-fancy

// Setup
$ git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"

// make it more fancier
$ git config --global color.diff-highlight.oldNormal "red bold"
$ git config --global color.diff-highlight.oldHighlight "red bold 52"
$ git config --global color.diff-highlight.newNormal "green bold"
$ git config --global color.diff-highlight.newHighlight "green bold 22"

Back to posts


comments powered by Disqus