-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 30ad416
Showing
5 changed files
with
561 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/target/ | ||
**/*.rs.bk |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[package] | ||
name = "git-tree" | ||
version = "0.1.0" | ||
authors = ["Christoph Rüßler <[email protected]>"] | ||
|
||
[dependencies] | ||
ansi_term = "0.10.1" | ||
clap = "2.26.2" | ||
git2 = "0.6.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# git-tree | ||
|
||
git-tree is a small command line utility for showing the status of untracked | ||
and modified files in a git repository as a tree. | ||
|
||
## Installation | ||
|
||
Because it uses `#![feature(advanced_slice_patterns, slice_patterns)]`, it | ||
currently (2017-10) requires a nightly compiler. See | ||
https://github.com/rust-lang/rust/issues/23121 and | ||
https://doc.rust-lang.org/1.8.0/book/slice-patterns.html. | ||
|
||
Provided you have `cargo` installed, installation is as easy as | ||
|
||
``` | ||
cargo install https://github.com/cruessler/git-tree | ||
``` | ||
|
||
This will download the source code and compile the binary which can then be | ||
found in `~/.cargo/bin`. If that’s in your `$PATH`, you can type `git-tree | ||
--help` to get an overview of the available commands. |
Oops, something went wrong.