git-status-tree is a command line tool that shows git repository changes in a file tree.
git-status-tree (https://github.com/knugie/git-status-tree) is a command line tool that
helps you keeping track of changes in your git repository. Similar to the tree
command
(https://github.com/nodakai/tree-command), git-status-tree recursively lists directories
and files. Run git tree
in the command line to list all files in your git repository that are
untracked (?) or have been added (A), modified (M) or deleted (D). The colored output
shows whether a file has been added/staged (green)(+) or not (red). The current status
of each file is appended to it.
git-status-tree is available on rubygems.org.
Install git-status-tree by running:
gem install git-status-tree
Start using git-status-tree in your terminal by running:
git tree
git-status-tree supports:
Set the indentation as you like, default is 4.
git config --global status-tree.indent <indent>
gem install git-status-tree
git clone https://github.com/knugie/git-status-tree.git
cd git-status-tree
echo "change" >> README.md
echo "add untracked" > test/untracked.txt
rm DELETEME.txt
git add DELETEME.txt
echo "add staged" > test/staged.txt
git add test/staged.txt
git tree
.
├── test
│ ├── staged.txt (A+)
│ └── untracked.txt (?)
├── DELETEME.txt (D+)
└── README.md (M)
# reset repo
git reset HEAD --hard
git clean -xdf
gem uninstall git-status-tree
git clone https://github.com/knugie/git-status-tree.git
cd git-status-tree
bundle install
./test/test_git_status_tree
./bin/git-status-tree
gem build git-status-tree.gemspec
gem install git-status-tree-2.0.0.gem