diff-tree

1.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i diff-tree

Weekly Downloads

2

Version

1.1.2

License

MIT

Last publish

Collaborators

  • bates550