Skip to content

Files

Latest commit

d150cec · May 21, 2022

History

History

git-bsd

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 21, 2022
Jan 11, 2022

README.md

git bsd

Show the description of a branch

Git alias:

bsd = "!f(){ \
    branch=\"${1:-$(git rev-parse --abbrev-ref HEAD 2>/dev/null)}\";  \
    git config \"branch.$branch.description\"; \
};f"

Example:

git bsd
This is an example branch

We advocate for git authors to add this feature in the future as git --show-description

Compare git bed in order to edit the branch description.