Skip to main content

git-branchdescriptions

Project description

This is a small tool to view and set git branch descriptions.

Usage

When invoked without –set git-branchdescriptions shows the current local branches with following descriptions. The -a, -v, and -r parameters control which refs are shown.

Assuming git-branchdescriptions is on your PATH git will pick it up and it will be accessible as git-branchdescriptions.

Tip: git config –global alias.bd branchdescriptions

git-branchdescriptions assumes current branch if branch is not provided. Use –set to set the branch’s description.

Example: git branchdescriptions –set This branch addresses issue foo.

$ git-branchdescriptions –help Use –set to set the branch’s description. Example: git branchdescriptions –set This branch addresses issue foo.

Options:
-v, --verbosity

Show sha1 and commit subject lines

-r, --remotes

List remote branches

-a, --all

List both local and remote branches

-s, --set

Use to set the branch’s description

-b BRANCH, --branch=BRANCH

Which branch to operate on. Optional, assumes current branch

--no-color

Skip color formatting (for dumb terminals)

--version

show program’s version number and exit

-h, --help

show this help message and exit

Thanks

Thanks to Ben Spaulding for expressing this common need.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-branchdescriptions-0.0.2.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file git-branchdescriptions-0.0.2.tar.gz.

File metadata

File hashes

Hashes for git-branchdescriptions-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6da3bb38ecf9519c0f3f3c74104ae2d26e28e23d292e2c947e098b247eb1cad9
MD5 d833732b123e22c47f622b31fcdb0664
BLAKE2b-256 a6ed35096cd29907a05a37815bb613bfa7ff8a3093505a6b4e8d53e49cd68ce1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page