GithubHelp home page GithubHelp logo

pombredanne / git-meld Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wmanley/git-meld

0.0 1.0 0.0 210 KB

Wrapper around git and meld for comparing git trees

License: GNU General Public License v2.0

Perl 48.93% Shell 51.07%

git-meld's Introduction

git meld README

NOTE: git meld is obsolete since git difftool learnt the --dir-diff option in git 1.7.11.

SYNOPSIS

git meld [options] <commit>{0,2} [--] [<path>...]

DESCRIPTION

git meld is a git command that allows you to compare and edit treeishs between revisions using meld or any other diff tool that supports directory comparison. git meld is a frontend to git diff and accepts the same options and arguments.

It is essentially an extended git-difftool for tools that support comparing directories rather than having git call the external tool for every file that has changed

EXAMPLE

Show the differences between the staging area and your working directory:
$ git meld

Show the differences between HEAD and the staging area (i.e. what would be commited if you were commit now:

$ git meld --cached
Show the differences between two commits ago and the working directory:
$ git meld HEAD^^
Show the differences between the tips of branch master and branch topic
$ git meld master..topic

Show all the changes made to branch topic since it branched off branch master

$ git meld master...topic

INSTALLATION

Add a git alias to your gitconfig with:
$ git config --global alias.meld '!/path/to/git-meld/git-meld.pl'

Alternatively add:

[alias]
meld = !/path/to/git-meld/git-meld.pl

To your ~/.gitconfig

CONFIGURATION

The following additional git configuration variables are available for setting up git meld for using diff tools other than meld:

treediff.tool
Controls which diff tool is used.
treediff.<tool>.path
Override the path for the given tool. This is useful in case your tool is not in the PATH.
treediff.<tool>.cmd
Specify the command to invoke the specified diff tool.

CONTACT

git repo, bug tracker and wiki for git meld are available on github at https://github.com/wmanley/git-meld

HOW IT WORKS

git meld uses "git diff --name-only" to extract the files that have changed between the two commits and then makes a copy of these files into a temporary directory before invoking meld on these copies.

git-meld's People

Contributors

pacoqueen avatar parren-google avatar wmanley avatar

Watchers

 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.