Add git config defaults for auto-yes and wait options
This commit is contained in:
10
README.md
10
README.md
@@ -49,6 +49,16 @@ After pushing to a Gitea remote, `gp` automatically monitors the CI workflow pro
|
||||
- Automatically skipped for GitHub/GitLab remotes or when no token is available
|
||||
- Use `--no-wait` to disable
|
||||
|
||||
## Config Defaults
|
||||
|
||||
Set per-repo or global defaults via git config:
|
||||
|
||||
```bash
|
||||
git config gp.auto-yes true # Skip confirmations (like -y)
|
||||
git config gp.wait false # Don't wait for CI (like --no-wait)
|
||||
git config --global gp.auto-yes true # Apply globally
|
||||
```
|
||||
|
||||
## Commit Message Generation
|
||||
|
||||
Uses Claude AI (`claude --print`) if available, otherwise falls back to heuristic analysis:
|
||||
|
||||
Reference in New Issue
Block a user