Skip to content
Command-line interface for comparing files on www.diffnow.com
Shell
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

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

README.markdown

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>
You can’t perform that action at this time.