24 lines
532 B
Markdown
24 lines
532 B
Markdown
# Git Workflow
|
|
|
|
## Session Workflow
|
|
```bash
|
|
# Always start sessions with
|
|
git pull
|
|
|
|
# After significant work
|
|
git add . && git commit -m "vault backup: $(date)" && git push
|
|
```
|
|
|
|
## Commit Format
|
|
- Standard: `vault backup: YYYY-MM-DD HH:MM:SS`
|
|
- Feature: `feat: description`
|
|
- Fix: `fix: description`
|
|
- Docs: `docs: description`
|
|
|
|
## Best Practices
|
|
- Pull before starting work
|
|
- Commit frequently (after significant changes)
|
|
- Push at end of session
|
|
- Use descriptive messages for non-backup commits
|
|
- Never force push without approval
|