🎨
CMMobileBook
  • CMoney Mobile Book
  • Git主題
    • Git 基本知識
    • Git 使用方法
    • Git Flow 開發方式
    • Commit Message 規則
    • GitLab + SSH key
    • 相關學習網站
    • 延伸 Bitbucket 操作
  • Scrum主題
    • Scrum 基本知識
  • 程式練習題
    • 前言
    • 物件導向練習
      • StopWatch
    • Foundation 程式練習
      • 合法回文-1 Valid Palindrome
      • Reformat Date
      • Day of the Year
      • Peak Index in a Mountain Array
      • Number of Days Between Two Dates
      • To lower case
      • Two Sum
      • Best Time to Buy and Sell Stock
      • Best Time to Buy and Sell Stock II
    • 條件邏輯練習
      • FizzBuzz
      • Single Number
      • Self Dividing Number
Powered by GitBook
On this page
  • 什麼是Commit Message?
  • Conventional Commits(常規Commit守則)(Link)
  • Commit Message Style(Angular風格)(Link)

Was this helpful?

  1. Git主題

Commit Message 規則

一個好的Commit Message,可以幫助審核和增加程式碼的可維護性。

PreviousGit Flow 開發方式NextGitLab + SSH key

Last updated 4 years ago

Was this helpful?

什麼是Commit Message?

Commit Message為推送紀錄的訊息,請務必確實填寫每次程式的更動項目。

Conventional Commits(常規Commit守則)()

Commit Message Style(Angular風格)()

type(scope): subject
  • type:

    • build(改變建置系統或依賴)

    • ci(改變CI的設定)

    • docs(文件修改)

    • feat(新功能)

    • fix(修復Bug)

    • perf(優化性能)

    • refactor(重構)

    • style(CodingStyle修正)

    • test(新增測試)

  • scope: (可以為空)

    • 影響的範圍

  • subject

    • 提交敘述

feat: 新建立專案
feat: 新增登入頁UI
feat: 新增登入按鈕功能
fix: 修復登入邏輯參數錯誤

feat : 新增登入頁UI  <----錯誤
feat:新增登入頁UI  <----錯誤
Link
Link