diff-tree
v1.1.2
Published
git diff in tree form
Downloads
5
Readme
diff-tree
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