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!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!