9 releases (2 stable)
| 1.0.2 | Jun 19, 2025 |
|---|---|
| 1.0.1 | Nov 1, 2024 |
| 1.0.0 |
|
| 0.1.7 |
|
| 0.1.5 | Mar 31, 2023 |
#544 in Command-line interface
568 downloads per month
5KB
gitbranch
It simply shows current branch name - or nothing if it isn’t a git repo.
Build and install
cargo install gitbranch
Use
gitbranch [<directory>]
Directory defaults to current working directory.
License: BSD-3-Clause
Dependencies
~11MB
~256K SLoC