Giter Site home page Giter Site logo

icdiff's Introduction

Icdiff

Improved colored diff

Installation

Put icdiff on your PATH.

##Usage

icdiff [options] left_file right_file

Show differences between files in a two column view.

Options

  -h, --help           show this help message and exit
  --cols=COLS          specify the width of the screen. Autodetection is Unix
                       only
  --head=HEAD          consider only the first N lines of each file
  --highlight          color by changing the background color instead of the
                       foreground color.  Very fast, ugly, displays all
                       changes
  --line-numbers       generate output with line numbers
  --no-bold            use non-bold colors; recommended for with solarized
  --no-headers         don't label the left and right sides with their file
                       names
  --numlines=NUMLINES  how many lines of context to print; can't be combined
                       with --whole-file
  --recursive          recursively compare subdirectories
  --show-all-spaces    color all non-matching whitespace including that which
                       is not needed for drawing the eye to changes.  Slow,
                       ugly, displays all changes
  --version            print version and exit
  --whole-file         show the whole file instead of just changed lines and
                       context

Using with git

To see what it looks like, try:

git difftool --extcmd icdiff

To install this as a tool you can use with git, copy git-icdiff onto your path and run:

git icdiff

License

This file is derived from difflib.HtmlDiff which is under the license. I release my changes here under the same license. This is GPL compatible.

icdiff's People

Contributors

dnet avatar idupree avatar jeffkaufman avatar jomo avatar jpalumickas avatar pysquared avatar xiaket avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.