Skip to main content
r/git icon

r/git

members
online

Edit git branch description Edit git branch description
tutorial
Edit git branch description

Git stores an optional “description” field for each branch in its local metadata—perfect for annotating feature purpose or context.

Run git branch --edit-description to open your editor, enter a brief note, and save.

You (and your teammates) can then view it with.

git config branch.<branch-name>.description

or in tools that support showing branch descriptions, making it easier to remember why the branch exists.

upvote

Modern Business is mobile. That’s why you need Comcast Business Mobile. Switch and save today!
Image Modern Business is mobile. That’s why you need Comcast Business Mobile. Switch and save today!



Do we have any insights about how/why less became the default pager used by Git? Do we have any insights about how/why less became the default pager used by Git?

I see that the pager was introduced in commit f67b45f by Linus himself, which got me curious about the choice of hardcoding it when a default pager is not configured.

I mean, we know that Linus uses uemacs as his editor, and less uses vi keybindings by default, so I'm just curious about this choice of pager.

I came across the most pager which supposedly improves upon less, though I found it to be slower, so I guess less is the best choice with nothing to match it?