Answer the question
In order to leave comments, you need to log in
How to display branch description in git?
I want to add a description to the branches in the git. I found this command
git branch --edit-description [branchname]
It seems to add a description, because it appeared in the config. But with the command
git branch --list ,
only a list of branches is displayed without a description. How can I make this command also display a description?
Answer the question
In order to leave comments, you need to log in
No way.
Open an editor and edit the text to explain what the branch is for, to be used by various other commands (eg format-patch, request-pull, and merge (if enabled)). Multi-line explanations may be used.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question