Files
DBAdmin/brain/.serena/memories/suggested_commands.md
T
2026-06-18 10:01:11 +00:00

38 lines
974 B
Markdown

# Suggested Commands
Project and shell commands for development, utility, and maintenance tasks.
## Maintenance Scripts (Windows PowerShell)
- **Knowledge-base Terms Replacer**: Refactors old "knowledge" references to "knowledge" across files and renames files containing "knowledge":
```powershell
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\replace_knowledge.ps1
```
## File Search & Search Commands
- **Find specific pattern in knowledge directory**:
```powershell
Select-String -Path .\knowledge\**\*.md -Pattern "concept-pattern"
```
- **List files matching a glob recursively (using PowerShell)**:
```powershell
Get-ChildItem -Path .\knowledge -Recurse -Filter *.md
```
## Git Commands
- **Check current repository status**:
```powershell
git status
```
- **Inspect changes in working tree**:
```powershell
git diff HEAD
```
- **Check the 3 most recent commits to match style**:
```powershell
git log -n 3
```