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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size git-branchdescriptions-0.0.3.tar.gz (3.1 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for git-branchdescriptions-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d21f6132803b2955519fb9d5eb497af21cfc1d419c83d59db6077a32d202e1d |
|
MD5 | 617a8dafe58e9acfac717cdf4b8333d0 |
|
BLAKE2-256 | 0c6c6760b49826e96e63ef3e35a23e098c58fff6c07b974e1bfd10e37056df1d |