Report this

What is the reason for this report?

Any tips on visual diff of files without resorting to VNC?

Posted on May 19, 2016

I use ‘git diff’ to examine changes before committing changes on the server. On my development Mac I have git diff routed through opendiff (FileMerge) which makes reviewing the diffs much faster, especially when looking at SQL dumps with small diffs within lines that can be pages long.

One solution might be setting up X11 & VNC and something like meld to get a visual diff right on the server. But I bet the better approach would be to shoot the files back to my development machine and perform the diff there: no need to set up VNC or burn up bandwidth using it, no latency in the visual diff GUI…

Anyone have scripts already set up to do such a thing, or maybe a better approach altogether? I’d rather not reinvent the wheel, as simple as it may be. Thanks!

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.