ADSense script

Code Colors

2019年12月23日 星期一

讓 git commit 更好的理解commit 的作用...type:

程式變動不外乎 新增/變動feature, fix bug, refactor function, add some tests, change style, modify documentation, revert commit, improves performance.

因此 type 使用以下類別:
feat: 新增/變動feature 。
fix: 修補 bug。
docs: 文件。
style: 格式 (不影響程式碼運行的變動 white-space, formatting, etc)。
refactor: 重構 (換種寫法)。
test: 增加測試 (when adding missing tests)。
chore: 建構程序或輔助工具的變動 (maintain)。

revert: 撤銷先前的 commit 例如:revert: type(scope): subject (恢復版本:xxxx)。
perf: 改善效能 (A code change that improves performance)。

沒有留言:

張貼留言

手機選擇帳號後,按下發布 要再點選一次發布哦

牙醫學書單

 牙科臨床討論 Clinical Conference of Dentistry  口腔診斷學臨床實習Clinical Practice in Oral Diagnosis  牙科放射線學臨床實習 Clinical Practice in Dental Radiology  牙體...