Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Atom: how to diff two files using split-diff

Tags:

atom-editor

It compares my file to the latest version checked into git. How do I compare two files?

like image 221
kev Avatar asked Sep 28 '17 00:09

kev


1 Answers

You need to use a package. I use split-diff which compares files in tow panes side by side. You need to open each file in a custom pane and then invoke command split-diff:toggle. See package documentation for more info.

Or you may use compare-files package showing a diff of two files

like image 72
fandasson Avatar answered Nov 15 '22 17:11

fandasson