![](/img/trans.png)
[英]Github Action fails: 'git-lfs' is not on your path
我正在使用以下 Github 操作: 進行提交的步驟cz具有選項lfs: true但是當執行 Github 操作時,我收到以下錯誤: 我該如何解決此錯誤以允許cz進行提交? ...
[英]Github Action fails: 'git-lfs' is not on your path
我正在使用以下 Github 操作: 進行提交的步驟cz具有選項lfs: true但是當執行 Github 操作時,我收到以下錯誤: 我該如何解決此錯誤以允許cz進行提交? ...
[英]How can I reference var from section into another section in pyproject.toml?
您好,我正在構建一個 pyproject object,我有以下兩個部分 如您所見,詩歌在其部分中使用了版本並在其部分中使用了提交,問題是如何只設置一個版本並在部分之間共享? 謝謝 ...
[英]How can I keep poetry and commitizen versions synced?
我有一個pyproject.toml與 我添加了一個新功能並提交了提交消息 那是一個承諾。 然后我打電話 Commitizen 將識別次要版本增加,更新我的pyproject.toml ,並使用更新后的pyproject.toml和標簽0.2.0再次提交。 這是第二次提交。 但是現在我的pypr ...
[英]commitizen: No commit found with range: 'origin/HEAD..HEAD'
我最近開始在日常開發中使用 commitizen,但是我不明白為什么第一次提交到新分支時會出現以下錯誤,即: 我的預提交文件如下所示: 我在這里缺少什么嗎? 我的 git 遙控器已設置: Git支線顯示: ...
[英]error: pathspec 'commit' did not match any file(s) known to git when using commitizen
現在我想使用 commitizen 在 linux Ubuntu 20.04.4 LTS中提交 git 回購,首先安裝 commitizen( Node v16.14.2 ): 當我像這樣使用 commitizen 提交代碼時: 顯示這樣的錯誤: 為什么會這樣? 我應該怎么做才能解決這個問題? ...
[英]Jest and Commitizen: Commit works even if tests fail
我目前正在使用 Jest、Husky、Commitizen 和 Vuepress。 但是,當開玩笑測試或構建失敗時,提交掛鈎仍然有效。 當事情失敗時,我該如何解決這個問題以退出 commitizen 鈎子? 這是 package.json 中的相關行: ...
[英]Commitizen Non Interactive is bringing up interactive mode
我可以按預期使用具有交互模式的 commitizen。 但是在非交互模式下不起作用。 這里可能出了什么問題? 參考: https://www.npmjs.com/package/git-cz ...
[英]Update to esLint on Angular breaks commitlint
我剛剛將一個 Angular 11 應用更新為 eslint,並安裝了 commitizen、commitlint、husky 和 semantic-release,以通過 npm 和 Travis 驅動 CI。 我按照 Angular 推薦鏈接上的說明操作。 Linting 本身工作正常。 該 ...
[英]How to globally uninstall an npm package commitizen?
我正在嘗試卸載名為commitizen的全局安裝的 npm 包。 當我運行這個npm uninstall -g commitizen ,這不會返回任何結果: 我重新啟動了機器。 現在,為了檢查軟件包是否確實被卸載了,我正在運行commitizen期待錯誤,但令我驚訝的是,該命令仍然可用: ...
[英]use git's prepare-commit-msg hook during an interactive rebase
在 lerna/yarn monorepo 中,我們使用commitizen和cz-conventional-changelog來管理發布。 我們用husky皮棉提交的信息commit-msg勾並運行的commitizen CLI prepare-commit-msg勾: 只要不需要 rebas ...
[英]lint-staged + commitizen configuration suitable for command-line and Intellij
我正在嘗試構建一個適用於命令行和Intellij的配置。 這是我的package.json的一部分 它在命令行中運行良好,但是當與Intellji一起提交它時會說出類似的內容 這是解決方案嗎? ...
[英]How to define Commitizen adapter when using "npx git-cz"?
我正在嘗試對我的項目采用標准的常規提交。 在搜索 linters 和其他自動化工具時,我偶然發現了commitizen 。 我想在我的項目中使用它而不在本地安裝它,也不想在全局范圍內使用 NPX 和命令npx git-cz 。 如何使用這種方法定義適配器? (無需在本地或全局安裝) Commi ...
[英]Commitizen: Is there a way to override standard `git commit`?
這里有任何承諾用戶嗎? 通緝行為: 安裝提交 運行git commit 看到與運行git cz時相同的漂亮菜單 當前行為: 安裝提交 運行git commit 運行git cz時沒有漂亮的菜單,只是默認的 git 界面 ...
[英]Can't commit when combining commitizen + husky: nvm is not compatible with the “npm_config_prefix” environment variable
我有一個正在使用commitizen的項目,沒有任何問題。 我決定添加沙啞,以便使用更漂亮的方式運行precommit提交鈎子。 問題是當我運行npm run cm命令時,出現此錯誤... 我刪除了漂亮的文件,嘗試了沙啞的和一個基本的npm run test precommit鈎子, ...
[英]how to make commitizen override default git commit command
我目前正在創建自定義腳本以通過執行npm run commit來運行 commitizen commit 命令,但我只想讓它以某種方式使用npm run commit超越默認的git commit ......所以任何人git commit都會自動引導該人commitizen 接口,並在 commi ...