gitbranch

Crates.iogitbranch
lib.rsgitbranch
version1.0.2
created_at2023-03-07 21:47:04.81294+00
updated_at2025-06-19 17:21:36.035927+00
descriptionIt simply shows current branch name - or nothing if it isn’t a git repo.
homepagehttps://crates.io/crates/gitbranch
repositoryhttps://github.com/cacilhas/microcli/tree/master/gitbranch
max_upload_size
id803971
size15,957
Montegasppα ℭacilhας (cacilhas)

documentation

README

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

Commit count: 182

cargo fmt