Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/BenoitZugmeyer/git-branches-overview
- Owner: BenoitZugmeyer
- License: other
- Created: 2019-01-05T20:56:31.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-01-05T22:08:08.000Z (almost 6 years ago)
- Last Synced: 2024-10-12T17:36:27.783Z (29 days ago)
- Language: Rust
- Size: 50.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: COPYING
Awesome Lists containing this project
- awesome-modernization - git-branches-overview
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 informationOPTIONS:
--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)