How do you annotate a branch?

后端 未结 7 1225
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-08 02:34

Is there any way to annotate a branch? It would be nice to be able to do something like:

$ git notes add branch-name -m \'This branch is for whatever\'
<
相关标签:
7条回答
  • 2020-12-08 03:09

    Using Brian's solution I've created git-note. You can use it like:

    $ git note "Some note" # set note for current branch
    $ git note -b branch # see note for branch
    $ git note -l # list all the branches with theirs' notes
    
    0 讨论(0)
提交回复
热议问题