Skip to content

AlexNisnevich/diffnow-cli

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

diffnow-cli

diffnow-cli is a shell utility that enables you to compare files on DiffNow from the command line.

Three output modes are supported:

  • diffnow file1 file2 outputs a short url to an online diff report hosted on diffnow.com for one week.
  • diffnow -o output file1 file2 downloads an HTML diff report to output.
  • diffnow -b browser file1 file2 downloads an HTML diff report to a temporary location and opens it with the specified browser.

Using diffnow-cli with git

I've added the following lines to my global .gitconfig file:

[diff]
	tool = diffnow
[difftool "diffnow"]
	cmd = diffnow -b chromium $LOCAL $REMOTE
[difftool]
	prompt = false

Now I can compare a file to its previous version by running:

git difftool --gui <file>

About

Command-line interface for comparing files on www.diffnow.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages