How can I document a branch?

Hi, I have few branches and hopefully their names are explicit enough. Yet, I’d like to provide a short description for each to describe the purpose and the current state. Is it possible already and if so how?

You can use git branch --edit-description on local repository, but note these are stored in repository’s config so they are not synced to remote. Would work if it is only for your purposes, but won’t work for team purposes.

As for Gitea, there is no feature to show/edit branch descriptions unfortunately. You can create suggestion on GitHub GitHub - go-gitea/gitea: Git with a cup of tea, painless self-hosted git service for this.

1 Like

Thanks, added as Branch description · Issue #22639 · go-gitea/gitea · GitHub