跳到主要内容

Git 提交类型列表

提交类型

Commit TypeTitleDescriptionEmojiReleaseInclude in changelog
featFeaturesA new featureminortrue
fixBug FixesA bug Fix🐛patchtrue
docsDocumentationDocumentation only changes📚patch if scope is readmetrue
styleStylesChanges that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)💎-true
refactorCode RefactoringA code change that neither fixes a bug nor adds a feature📦-true
perfPerformance ImprovementsA code change that improves performance🚀patchtrue
testTestsAdding missing tests or correcting existing tests🚨-true
buildBuildsChanges that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)🛠patchtrue
ciContinuous IntegrationsChanges to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)⚙️-true
choreChoresOther changes that don't modify src or test files♻️-true
revertRevertsReverts a previous commit🗑-true

Reference