Loading...
Loading...
Compare original and translation side by side
git log origin/<base-branch>..HEAD --onelinegit push -u origin HEADgit statusgit log origin/<base-branch>..HEAD --onelinegit push -u origin HEADgit statusgit log origin/<base-branch>..HEAD --oneline
git diff origin/<base-branch>..HEAD --statfeatfixdocsrefactortestchoreperfcibuildrevertmonoreporepogit log origin/<base-branch>..HEAD --oneline
git diff origin/<base-branch>..HEAD --statfeatfixdocsrefactortestchoreperfcibuildrevertmonoreporepoMakefilepackage.jsonpyproject.tomlCargo.tomlgo.modbuild.gradlemix.exsGemfilecomposer.jsonjustfileTaskfile.ymlREADME.mdturbo --filternx --projectspnpm --filterbazel //path/...cargo -p <crate>pytest <path>go test ./<pkg>/...Makefilepackage.jsonpyproject.tomlCargo.tomlgo.modbuild.gradlemix.exsGemfilecomposer.jsonjustfileTaskfile.ymlREADME.mdturbo --filternx --projectspnpm --filterbazel //path/...cargo -p <crate>pytest <path>go test ./<pkg>/...npm run typecheckpnpm -r typechecktsc --noEmitmypy .pyrightty checkcargo checkgo build ./...go vet ./..../gradlew compileJava./mvnw compilenpm run typecheckpnpm -r typechecktsc --noEmitmypy .pyrightty checkcargo checkgo build ./...go vet ./..../gradlew compileJava./mvnw compilenpm run fixnpm run linteslint .prettier --check .ruff check --fix .ruff format .black .flake8cargo clippy --all-targetscargo fmt --checkgolangci-lint rungofmt -l .shellcheckshfmt -d .npm run fixnpm run linteslint .prettier --check .ruff check --fix .ruff format .black .flake8cargo clippy --all-targetscargo fmt --checkgolangci-lint rungofmt -l .shellcheckshfmt -d .npm run test -- --filter=<workspace>pnpm -r testvitest run <path>jest <path>pytest <path>tox -e <env>python -m unittestcargo test -p <crate>go test ./<pkg>/..../gradlew test./mvnw testbundle exec rspec <path>rake testnpm run test -- --filter=<workspace>pnpm -r testvitest run <path>jest <path>pytest <path>tox -e <env>python -m unittestcargo test -p <crate>go test ./<pkg>/..../gradlew test./mvnw testbundle exec rspec <path>rake testknipts-prunevulturedeadcodeunusedcargo udepsdepcheckpip checkcargo auditbundle auditpackage.jsonrequirements.txtpyproject.tomlCargo.tomlgo.modGemfilenpm installpnpm installuv syncpoetry lock --no-updatecargo update -wgo mod tidybundle installstylelinttrivysemgrepgitleaksknipts-prunevulturedeadcodeunusedcargo udepsdepcheckpip checkcargo auditbundle auditpackage.jsonrequirements.txtpyproject.tomlCargo.tomlgo.modGemfilenpm installpnpm installuv syncpoetry lock --no-updatecargo update -wgo mod tidybundle installstylelinttrivysemgrepgitleaksTEAM-1234JIRA-567#42TEAM-1234JIRA-567#42type(scope): descriptiontypefeatfixdocsrefactortestchoreperfcibuildrevertscopemonoreporepofix(a, b, c): ...feat(web): add dark mode togglefix(cli, daemon): load shell env at entrypointfix(api): handle nil response from upstreamchore(repo): bump dependenciestype(scope): descriptiontypefeatfixdocsrefactortestchoreperfcibuildrevertscopemonoreporepofix(a, b, c): ...feat(web): add dark mode togglefix(cli, daemon): load shell env at entrypointfix(api): handle nil response from upstreamchore(repo): bump dependenciesundefinedundefinedundefinedundefinedgh pr create \
--base <base-branch> \
--head <branch-name> \
--title "<type>(<scope>): <description>" \
--body "<generated body>"--body-filegh pr create --base <base-branch> --head <branch> --title "..." --body-file /tmp/pr-body.mdgh pr create \
--base <base-branch> \
--head <branch-name> \
--title "<type>(<scope>): <description>" \
--body "<generated body>"--body-filegh pr create --base <base-branch> --head <branch> --title "..." --body-file /tmp/pr-body.md| Category | What it does | How to find the local command |
|---|---|---|
| Typecheck / compile | Verifies the project compiles or passes static types | Check |
| Lint | Enforces code style / correctness rules | Check for |
| Format | Enforces consistent formatting | Check for |
| Tests | Runs unit and integration tests | Check for |
| Dead code / unused exports | Flags unused code | Check for |
| Dependency check | Flags unused / vulnerable dependencies | Check for |
| Lockfile in sync | Fails if lockfile is stale relative to the manifest | Run your package manager's install command and commit the lockfile |
| PR Conventions | Validates branch name, semantic title, ticket presence | Follow the formatting rules above |
| 类别 | 功能 | 如何找到本地命令 |
|---|---|---|
| 类型检查 / 编译 | 验证项目可编译或通过静态类型检查 | 查看 |
| 代码检查 | 强制执行代码风格/正确性规则 | 查看仓库根目录中的 |
| 格式化 | 强制执行一致的代码格式 | 查看 |
| 测试 | 运行单元和集成测试 | 查看 |
| 死代码 / 未使用导出 | 标记未使用的代码 | 查看 |
| 依赖检查 | 标记未使用/易受攻击的依赖 | 查看 |
| 锁文件同步 | 若锁文件相对于清单过期则失败 | 运行包管理器的安装命令并提交锁文件 |
| PR规范 | 验证分支名称、语义化标题、工单存在性 | 遵循上述格式化规则 |
[A-Za-z0-9/-]chore:revert:[A-Za-z0-9/-]chore:revert:devmaindeveloptrunkchore:revert:gh pr createdevmaindeveloptrunkchore:revert:gh pr create