Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/BenoitZugmeyer/git-branches-overview

Visualize branches state compared to a base revision or their upstream.
https://github.com/BenoitZugmeyer/git-branches-overview

Last synced: 15 days ago
JSON representation

Visualize branches state compared to a base revision or their upstream.

Awesome Lists containing this project

README

        

# git-branches-overview

[![Crates.io](https://img.shields.io/crates/v/git-branches-overview.svg?style=popout)](https://crates.io/crates/git-branches-overview)
[![License](https://img.shields.io/crates/l/git-branches-overview.svg?style=popout)](https://github.com/BenoitZugmeyer/git-branches-overview/blob/master/COPYING)

Visualize branches 'ahead' and 'behind' commits compared to a base revision or their upstream.

## Installation

Use [Cargo](https://doc.rust-lang.org/cargo/index.html).

```
$ cargo install git-branches-overview
```

You may need to add `$HOME/.cargo/bin` in your `PATH`.

## Usage

```
git-branches-overview [FLAGS] [OPTIONS] [--] [base_revision]

FLAGS:
-l Show local branches (default)
-r Show remote branches
-a Show all branches
-u, --upstreams Compare branches with their respective upstream instead of the default branch
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
--remote ... Only list branches from those remotes; can be specified multiple times; implies
'-r'
--repo-dir Repository path [default: .]

ARGS:
Revision to use as a base [default: HEAD]
```

## Screenshot

![Screenshot of git-branches-overview](https://raw.githubusercontent.com/BenoitZugmeyer/git-branches-overview/master/git-branches-overview.png)