---
description: Commit all workspace changes in logical order with intelligent messages
---

# Commit Workspace Changes — PeakPulse

## Steps

1. Check for uncommitted changes:
// turbo
```bash
cd /Users/sd9235/code/mygh/learning_ai_peakpulse && git status --short
```

2. If there are changes, stage all files:
// turbo
```bash
cd /Users/sd9235/code/mygh/learning_ai_peakpulse && git add -A
```

3. Review staged changes to craft an intelligent commit message:
// turbo
```bash
cd /Users/sd9235/code/mygh/learning_ai_peakpulse && git diff --cached --stat
```

4. Commit with a descriptive single-line message following the convention `type(scope): description`:
```bash
cd /Users/sd9235/code/mygh/learning_ai_peakpulse && git commit -m "<type>(<scope>): <description>"
```

**Commit types:** feat, fix, docs, refactor, test, chore
**Common scopes:** models, services, views, components, platform, tests, config, docs

5. Verify commit:
// turbo
```bash
cd /Users/sd9235/code/mygh/learning_ai_peakpulse && git log -1 --oneline
```
