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
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>
Install with npm
npm install --global diff-tree
- Sean Spearman - Initial work - Bates550
This project is licensed under the MIT License