diff-tree
git diff in tree form
Last updated 3 years ago by bates550 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install diff-tree 
SYNC missed versions from official npm registry.

diff-tree

git diff in tree form.

Get a better idea of structure changes caused by a feature branch.

Instead of looking at a list of files like this:

M  dir0/foo.js
A  dir1/dirA/bar.js
A  dir1/baz.js

See them like this:

  /
  ├── dir0
M │   └── foo.js
  └── dir1
      ├── dirA
A     │   └── bar.js
A     └── baz.js

Usage

git checkout <my-feature-branch>
diff-tree

diff-tree will diff the currently checked out branch against master unless a branch is specified:

diff-tree <diff-current-branch-against-me>

You can also pass two branches if you'd like to see a diff without checking out the relevant branch

diff-tree <branch-A> <branch-B>

Installing

Install with npm

npm install --global diff-tree

Authors

  • Sean Spearman - Initial work - Bates550

License

This project is licensed under the MIT License

Current Tags

  • 1.1.2                                ...           latest (3 years ago)

7 Versions

  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 1
This Week 1
This Month 2
Last Day 0
Last Week 0
Last Month 6
Dependencies (1)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |