Jun 9, 2026, 4:06 PM
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# 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
|
||||
```
|
||||
Reference in New Issue
Block a user