Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.80 KB | None | 0 0
  1. # Git commit message format
  2.  
  3. `<type>`{`<scope>`):`<all lowercase message>`
  4.  
  5. - space after smicolons for subject text
  6.  
  7. feat(home): add deal component
  8. fix(about): fix bullet point bug
  9. perf(booking): optimize booking script execution
  10. refactor(contact): change font-weight to improve ux
  11. style(home) – adjust indentation
  12. docs(booking) – add params for booking script
  13. chore(gulp) – add sass compilation task
  14.  
  15. **where**
  16.  
  17. ## Type `<type>`
  18.  
  19. 1. feat – new feature/page (things which need to implement as new)
  20.  
  21. a. eg. add deal pgae, add 3 new buttons, add deals in home page, etc
  22.  
  23. 2. fix – bug fix (issues, bug, error, eception which happens on top of existing features or page)
  24.  
  25. a. eg. font-icon does not show properly, css break after AEM packaging
  26.  
  27. 3. docs – documentation code changes
  28.  
  29. a. eg. JSDoc comments
  30.  
  31. 4. style – code beautification (any changes that does not affect any of the code parsing)
  32.  
  33. a. eg. formatting alignment, missing semi-colons, indentation, etc)
  34.  
  35. 5. perf – performance optimization (any changes which make code or rendering faster and better)
  36.  
  37. a. eg. optimize javascript code to have better execution, optimize html ot have better painting, optimize css for effective rendering
  38.  
  39. 6. refactor – code or ux refactoring (any changes which does not represent feat or bug fix or perf)
  40.  
  41. a. eg. adding or removing code to make UI rearrangement, better UX
  42.  
  43. 7. test – unit or e2e test
  44. 8. chore – build script (any changes related to bower or gulp)
  45.  
  46. ## Scope `<scope>`
  47.  
  48. Scope will be the name of work scope/page.
  49.  
  50. eg. home, deals, discover, booking, offers, about, contact, gulp(chore), bower(chore)
  51.  
  52. ## Subject `<subject>`
  53.  
  54. 1. use present tense "change, add, improve, remove"
  55. 2. all lowercase text
  56. 3. no dot "." at the end of the sentence
  57. 4. include JIRA ticket at the end with hash prefix (#GBB-8)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement