Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cruessler committed Oct 1, 2017
0 parents commit 30ad416
Show file tree
Hide file tree
Showing 5 changed files with 561 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target/
**/*.rs.bk
286 changes: 286 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Cargo.toml
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"
21 changes: 21 additions & 0 deletions README.md
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.
Loading

0 comments on commit 30ad416

Please sign in to comment.