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)。

沒有留言:

張貼留言

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

如何創造被動收入?

  發展被動收入是許多人追求的目標之一,這意味著通過投資、創業或其他方式,在不需要持續主動參與勞動的情況下賺取收入。以下是一些詳細的方法和步驟,可以幫助你開始發展被動收入: 理財投資: