首页 > 代码库 > Code Labels

Code Labels

 

Code Labels

Code labels are three-letter codes with which commit messages can be prefixed.

CODE Label          color name      background  text---- -------------- --------------- ----------  -------BLD: build          light green     #bfe5bf     #2a332aBUG: bug            red             #fc2929     #ffffff  (github default)CLN: cleanup        light yellow    #fef2c0     #333026DOC: documentation  light blue      #c7def8     #282d33ENH: enhancement    blue            #84b6eb     #1c2733  (github default)PRF: performance    deep purple     #5319e7     #ffffffREF: refactor       dark green      #009800     #ffffffRLS: release        dark blue       #0052cc     #ffffffSEC: security       orange          #eb6420     #ffffffTST: test           light purple    #d4c5f9     #2b2833UBY: usability      light pink      #f7c6c7     #332829# Workflow Labels   (e.g. for waffle.io kanban board columns)ready               dark sea green  #006b75     #ffffffin progress         yellow          #fbca04     #332900# GitHub Labelsduplicate           darker gray     #cccccc     #333333  (github default)help wanted         green           #159818     #ffffff  (github default)invalid             light gray      #e6e6e6     #333333  (github default)question            fuschia         #cc317c     #ffffff  (github default)wontfix             white           #ffffff     #333333  (github default)Note: All of these color codes (except for fuschia)are drawn from the default GitHub palette.Note: There are 18 labels listed here.

Note

For examples with color swatches in alphabetical order, see https://github.com/westurner/dotfiles/labels

See: workflow#code-labels for Code Label syntax and usage information.

 

 技术分享

技术分享

 

Code Labels