mirror of
https://github.com/conventional-commits/conventionalcommits.org.git
synced 2026-03-22 12:44:37 -05:00
conventionalcommit indicator #16
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @elypter on GitHub (Feb 10, 2018).
for machine readability and to differentiate normal commit messages from conventional commits i suggest that there should be one or more characters at the beginning of the line to indicate a conventional commit.
example:
$fix(gui):spelling error in settings wnidow
@stevemao commented on GitHub (Feb 11, 2018):
Can you elaborate?
@elypter commented on GitHub (Feb 12, 2018):
the point of a leading character is that it makes conventionalcommits easy to identify for tools and also for users. everyone who has seen one before immediately recognizes it and doesnt have to ponder if the commits just use a similar syntax by accident. it also helps to avoid conflicts if a commit of a project that doesnt support conventional commits just happens to have a commit with a valid syntax and if tools can identify conventional commit by a leading character it can also check for syntax errors. it also spreads the word if people visit a project with conventional commits and ask themselves what the meaning of the commit with same leading character mean and then got to the documentation or faq.
@stevemao commented on GitHub (Feb 12, 2018):
Which tools are you talking about specifically? Have you tried https://github.com/conventional-changelog/conventional-commits-detector?
@elypter commented on GitHub (Feb 13, 2018):
oh, i didnt know this tool. thanks
@stevemao commented on GitHub (Feb 13, 2018):
It's Ok :)