P
P
Peter Pavlyuk2016-07-20 15:45:46
git
Peter Pavlyuk, 2016-07-20 15:45:46

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

1 answer(s)
F
Fat Lorrie, 2016-07-20
@Free_ze

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 question

Ask a Question

731 491 924 answers to any question