Files
DBAdmin/brain/.serena/memories/suggested_commands.md
T
Paweł Domański bb6ff3a8c6 Jun 9, 2026, 4:06 PM
2026-06-09 14:06:59 +00:00

37 lines
963 B
Markdown

# Suggested Commands
Project and shell commands for development, utility, and maintenance tasks.
## Maintenance Scripts (Windows PowerShell)
- **Knowledge-base Terms Replacer**: Refactors old "wiki" references to "knowledge" across files and renames files containing "wiki":
```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
```