Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mrinterweb
on Feb 9, 2016
|
parent
|
context
|
favorite
| on:
Diff So Fancy: make Git diffs look good
Vim's fugitive plugin also gives a similar split diff view. The command is "Gdiff".
ilikepi
on Feb 9, 2016
[–]
Even without the plugin, you can spawn a diff in vim via git's difftool settings. Here's a basic version that can be used in one's .gitconfig:
[diff] tool = customvim [difftool "customvim"] cmd = vim -R -f -d \"$LOCAL\" \"$REMOTE\"
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: