Loading...
Loading...
Compare original and translation side by side
git status --porcelaingit branch --show-currentgit diff --cached --statgit diff --statgit log --oneline -5git status --porcelaingit branch --show-currentgit diff --cached --statgit diff --statgit log --oneline -5git add -Agit diff --cachedgit commit --message "<subject>" [--trailer ...]--trailer.pre-commit-config.yaml--no-verifygit add -Agit diff --cachedgit commit --message "<subject>" [--trailer ...]--trailer.pre-commit-config.yaml--no-verify<type>(optional scope): <description>
<optional body>
<optional trailers>featfixdocsstylerefactorperftestbuildcichorerevert!feat(api)!: change response formatfeat(auth): add JWT refresh endpoint
fix(ui): resolve layout shift on mobile nav
refactor(db): migrate from raw SQL to query builder
chore(deps): bump TypeScript to 5.5
feat(api)!: change pagination response shape<类型>(可选作用域): <描述>
<可选正文>
<可选尾部信息>featfixdocsstylerefactorperftestbuildcichorerevert!feat(api)!: change response formatfeat(auth): add JWT refresh endpoint
fix(ui): resolve layout shift on mobile nav
refactor(db): migrate from raw SQL to query builder
chore(deps): bump TypeScript to 5.5
feat(api)!: change pagination response shapeAB#<id>feature/1234-...bug/AB1234-...user/name/1234-...git log --oneline origin/main..HEADazure-devopswit_my_work_itemssearch_workitemgit commit \
--message "feat(auth): add JWT refresh endpoint" \
--trailer "AB#1234" \
--trailer "Assistant-model: Claude Code"AB#<id>feature/1234-...bug/AB1234-...user/name/1234-...git log --oneline origin/main..HEADazure-devopswit_my_work_itemssearch_workitemgit commit \
--message "feat(auth): add JWT refresh endpoint" \
--trailer "AB#1234" \
--trailer "Assistant-model: Claude Code"Assistant-modelCo-authored-byAssistant-model: Claude CodeAssistant-modelCo-authored-byAssistant-model: Claude Codegit add -A
git diff --cached --stat # sanity check
git commit \
--message "fix(parser): handle nested escape sequences" \
--trailer "AB#5678" \
--trailer "Assistant-model: Claude Code"
git log -1 # show the user the resultgit add -A
git diff --cached --stat # 合理性检查
git commit \
--message "fix(parser): handle nested escape sequences" \
--trailer "AB#5678" \
--trailer "Assistant-model: Claude Code"
git log -1 # 向用户展示结果