-
-
Save jatubio/95722819bb8d8d08f774 to your computer and use it in GitHub Desktop.
Git commit template for laravel projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Type(<scope>): <subject> | |
# Type: core, feat, fix, docs, style, refactor, test, chore, git, merge, composer | |
# Git Operations (Prefix with): Cherry-Pick To Develop: <cpd!>, Squash|Fixup|Skip|Split: <squash!|fixup!|skip!|split!>, Temp: <tmp!|temp!> | |
# For Cherry-Pick (Prefix with): cpick(<branch>) | |
# Scope: controllers, models, repositories | |
# Subject: (This commit) <verb: 'add, fix, delete, modify'> subject | |
# <body> | |
# Empty line | |
# <footer> | |
# Type should be one of the following: | |
# * core (improve core class) | |
# * feat (new feature) | |
# * fix (bug fix) | |
# * docs (changes to documentation) | |
# * style (formatting, missing semi colons, etc; no code change) | |
# * refactor (refactoring code) | |
# * test (adding missing tests, refactoring tests; no production code change) | |
# * chore (updating grunt tasks etc; no production code change) | |
# * git (changes about git, mainly .gitignore updates) | |
# Scope is just the scope of the change. Shold be one of the following: | |
# * Controller | |
# * Model | |
# Subject should use impertivite tone and say what you did. | |
# The body should go into detail about changes made. | |
# The footer should contain any JIRA (or other tool) issue references or actions. | |
# For a full example of how to write a good commit message, check out | |
# https://github.com/sparkbox/how_to/tree/master/style/git | |
# --------------------------------------------------------------------------------- | |
# Jira Issue Processing | |
# ISSUE_KEY #comment This is a comment | |
# ISSUE_KEY #done | |
# --------------------------------------------------------------------------------- | |
# --------------------------------------------------------------------------------- | |
# Samples | |
# --------------------------------------------------------------------------------- | |
## --------------------------------------------------------------------------------- | |
#feat($browser): onUrlChange event (popstate/hashchange/polling) | |
# | |
#Added new event to $browser: | |
#- forward popstate event if available | |
#- forward hashchange event if popstate not available | |
#- do polling when neither popstate nor hashchange available | |
# | |
#Breaks $browser.onHashChange, which was removed (use onUrlChange instead) | |
## --------------------------------------------------------------------------------- | |
## --------------------------------------------------------------------------------- | |
#fix($compile): couple of unit tests for IE9 | |
# | |
#Older IEs serialize html uppercased, but IE9 does not... | |
#Would be better to expect case insensitive, unfortunately jasmine does | |
#not allow to user regexps for throw expectations. | |
# | |
#Closes #392 | |
#Breaks foo.bar api, foo.baz should be used instead | |
## --------------------------------------------------------------------------------- | |
# | |
## --------------------------------------------------------------------------------- | |
#feat(directive): ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected | |
# | |
#New directives for proper binding these attributes in older browsers (IE). | |
#Added coresponding description, live examples and e2e tests. | |
# | |
#Closes #351 | |
## --------------------------------------------------------------------------------- | |
# | |
## --------------------------------------------------------------------------------- | |
#style($location): add couple of missing semi colons | |
# | |
#docs(guide): updated fixed docs from Google Docs | |
# | |
#Couple of typos fixed: | |
#- indentation | |
#- batchLogbatchLog -> batchLog | |
#- start periodic checking | |
#- missing brace | |
## --------------------------------------------------------------------------------- | |
# | |
## --------------------------------------------------------------------------------- | |
#feat($compile): simplify isolate scope bindings | |
# | |
#Changed the isolate scope binding options to: | |
# - @attr - attribute binding (including interpolation) | |
# - =model - by-directional model binding | |
# - &expr - expression execution binding | |
# | |
#This change simplifies the terminology as well as | |
#number of choices available to the developer. It | |
#also supports local name aliasing from the parent. | |
# | |
#BREAKING CHANGE: isolate scope bindings definition has changed and | |
#the inject option for the directive controller injection was removed. | |
# | |
#To migrate the code follow the example below: | |
# | |
#Before: | |
# | |
#scope: { | |
# myAttr: 'attribute', | |
# myBind: 'bind', | |
# myExpression: 'expression', | |
# myEval: 'evaluate', | |
# myAccessor: 'accessor' | |
#} | |
# | |
#After: | |
# | |
#scope: { | |
# myAttr: '@', | |
# myBind: '@', | |
# myExpression: '&', | |
# // myEval - usually not useful, but in cases where the expression is assignable, you can use '=' | |
# myAccessor: '=' // in directive's template change myAccessor() to myAccessor | |
#} | |
# | |
#The removed `inject` wasn't generaly useful for directives so there should be no code using it. | |
## --------------------------------------------------------------------------------- | |
# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment