Skip to content

Bates550/diff-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

git diff in tree form.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published