fix(committer): forbid --author in shared workspace committer prompt
This commit is contained in:
parent
f6e29a5cae
commit
215a8f6566
@ -47,7 +47,7 @@ function workspaceCommitterPrompt({
|
|||||||
- Example: \`${branchCheckoutExample}\`
|
- Example: \`${branchCheckoutExample}\`
|
||||||
3. \`git add -A\`
|
3. \`git add -A\`
|
||||||
4. Write a **conventional commit** message summarizing what changed and why (scope may be \`${conventionalCommitScopeHint}\` or similar).
|
4. Write a **conventional commit** message summarizing what changed and why (scope may be \`${conventionalCommitScopeHint}\` or similar).
|
||||||
5. \`git commit -m "<message>"\` (use multiple \`-m\` if you need a body).
|
5. \`git commit -m "<message>"\` (use multiple \`-m\` if you need a body). Do **not** pass \`--author\` — always use the repo's local git config identity.
|
||||||
6. \`git push -u origin <branch-name>\`
|
6. \`git push -u origin <branch-name>\`
|
||||||
|
|
||||||
**committed=true** only if branch was created, commit succeeded, and **push** succeeded.
|
**committed=true** only if branch was created, commit succeeded, and **push** succeeded.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user