zeldor.biz

Linux, programming and more

Copyright © 2023
Log in

git diff side-by-side

September 30, 2019 by Igor Drobot Leave a Comment

During committing of larger feature over GIT, I recognised a need to perform a side by side diffs instead the typical line-in-line diffs which are default by running git diff or the same line-by-line diff which is provided by the Fork.app

However you can do side-by-side diffs with git!

Set a diff tool of your choice:

git difftool --tool=vimdiff

Or write it to ~/.gitconfig:

tool = vimdiff

Now you can see your changes in the vimdiff tool by running:
git difftool

Filed Under: Linux Tagged With: developer, GIT

Categories

Archives

Tags

apache2 Apple arduino ARM Automation backup bash Cisco Cluster Corosync Database Debian Debian squeeze DIY DNS Fedora FTP Fun Icinga Ipv6 KVM Linux LVM MAC OS X Monitoring MySQL Nagios Nginx openSUSE OpenVPN PHP Proxy Python python3 qemu RAID rsync Samba security ssh Ubuntu virtualization Windows Windows 7 Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *