<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [TOC] ## 1. 編譯檢測工具 ## 2. git 規范信息提交工具 >[success] 由來: 在多人合作項目中,合并代碼時會因為不規范的信息提交而導致不清楚具體修改的模塊,從而耗時去查找代碼修改源 ### 安裝相關依賴 ~~~ $ npm install git-cz -g // ... $ npm install commitizen cz-customizable --dev ~~~ ### 在`package.json`配置快捷腳本 > tips: 可配置可不配,配置后使用`yarn commit`命令即可,不配置使用`git-cz`亦可 > 當項目在硬盤中位置過深時,可能會遇到 `git-cz`報錯找不到 `node_modules/cz-customizable` ,這時只能手動輸入文件目錄 ~~~ { "scripts": { // ... "commit": "git-cz" } // ... "config": { "commitizen": { "path": "node_modules/cz-customizable" } } } ~~~ ### 配置`.cz-config.js`文件,制定`commit`可選擇信息 ~~~ /* * @describe: commit可選擇信息配置 */ 'use strict' module.exports = { // 可供選擇類型 types: [ { value: 'add', name: 'add: A new feature' }, { value: 'fix', name: 'fix: A bug fix' }, // ... ], // 可供選擇模塊區域 scopes: [ '公共模塊', '全局組件', '解決沖突', '更新版本', // ... ], // 允許自定義范圍 // allowCustomScopes: true, // 允許中斷更改 allowBreakingChanges: ['add', 'fix'] } ~~~ ### 使用 ~~~ $ git checkout M projectConfig/package.json M projectConfig/.cz-config.js $ git add . // ... $ yarn commit // 或者使用 git-cz // ... 一路選擇或輸入即可 $ git push origin test ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看