Ignore local Claude Code config files
.mcp.json holds a plaintext Gitea access token and settings.local.json is machine-specific, so neither belongs in the repo. Untrack settings.local.json (it stays on disk) and ignore both. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GH8ZMRY3vhxxXcaUxBqxkk
This commit is contained in:
@@ -1,49 +0,0 @@
|
||||
{
|
||||
"permissions": {
|
||||
"allow": [
|
||||
"Bash(cmake --build . --config Debug --target DotaFactory_test)",
|
||||
"Bash(cmake ..)",
|
||||
"Bash(cmake --build . --config Debug --target DotaFactory)",
|
||||
"Bash(D:/projects/2026_dota_factory/dota_factory/build/DotaFactory/Debug/app/DotaFactory_test.exe *)",
|
||||
"Bash(./DotaFactory/Debug/app/DotaFactory_test.exe *)",
|
||||
"Bash(cmake --build .)",
|
||||
"Bash(xargs grep *)",
|
||||
"Bash(cmake --build build)",
|
||||
"Bash(./build/DotaFactory/Debug/app/DotaFactory_test.exe *)",
|
||||
"Bash(cmake --build D:/projects/2026_dota_factory/dota_factory/build)",
|
||||
"Bash(D:/projects/2026_dota_factory/dota_factory/build/DotaFactory/Debug/app/DotaFactory_test.exe [wave],[combat] *)",
|
||||
"Bash(\"D:/projects/2026_dota_factory/dota_factory/build/DotaFactory/Debug/app/DotaFactory_test.exe\" \"[wave],[combat]\")",
|
||||
"Bash(\"D:/projects/2026_dota_factory/dota_factory/build/DotaFactory/Debug/app/DotaFactory_test.exe\")",
|
||||
"Bash(cmake --build D:/projects/2026_dota_factory/dota_factory/build --config Debug)",
|
||||
"Bash(cmake --build D:/projects/2026_dota_factory/dota_factory/build --config Debug --target DotaFactory_test)",
|
||||
"Bash(cmake *)",
|
||||
"Bash(/d/projects/2026_dota_factory/dota_factory/build/DotaFactory/Debug/app/DotaFactory_test.exe *)",
|
||||
"PowerShell(cmake *)",
|
||||
"PowerShell(& \"D:\\\\projects\\\\2026_dota_factory\\\\dota_factory\\\\build\\\\DotaFactory\\\\Debug\\\\app\\\\DotaFactory_test.exe\" --reporter compact 2>&1 | Select-Object -Last 30)",
|
||||
"PowerShell(& \"D:\\\\projects\\\\2026_dota_factory\\\\dota_factory\\\\build\\\\DotaFactory\\\\Debug\\\\app\\\\DotaFactory_test.exe\" --reporter compact 2>&1 | Select-Object -Last 5)",
|
||||
"Bash(Get-ChildItem *)",
|
||||
"PowerShell(ls -Recurse \"D:\\\\projects\\\\2026_dota_factory\" -Directory | Select-Object -First 30 | ForEach-Object { $_.FullName })",
|
||||
"PowerShell(cmd /c \"dir D:\\\\projects\\\\2026_dota_factory\")",
|
||||
"PowerShell(cmd /c \"dir D:\\\\projects\\\\2026_dota_factory\\\\dota_factory\")",
|
||||
"PowerShell(& \"D:\\\\projects\\\\2026_dota_factory\\\\dota_factory\\\\build\\\\DotaFactory\\\\Debug\\\\app\\\\DotaFactory_test.exe\" 2>&1)",
|
||||
"PowerShell(& \"D:\\\\projects\\\\2026_dota_factory\\\\dota_factory\\\\build\\\\DotaFactory\\\\Debug\\\\app\\\\DotaFactory_test.exe\" 2>&1 | Select-Object -Last 10)",
|
||||
"PowerShell(& \"D:\\\\projects\\\\2026_dota_factory\\\\dota_factory\\\\build\\\\DotaFactory\\\\Debug\\\\app\\\\DotaFactory_test.exe\" 2>&1 | Select-Object -Last 5)",
|
||||
"Bash(Select-Object -First 20)",
|
||||
"Bash(cd *)",
|
||||
"Bash(dir D:\\\\projects\\\\2026_dota_factory *)",
|
||||
"Bash(dir D:\\\\projects\\\\2026_dota_factory\\\\dota_factory *)",
|
||||
"Bash(dir D:\\\\projects\\\\2026_dota_factory\\\\dota_factory\\\\src *)",
|
||||
"Bash(dir D:\\\\projects\\\\2026_dota_factory\\\\dota_factory\\\\src\\\\lib *)",
|
||||
"Bash(grep -i \"\\\\.h$\")",
|
||||
"Bash(cd /d \"D:\\\\projects\\\\2026_dota_factory\")",
|
||||
"Bash(dir /s /b *.cpp *.h)",
|
||||
"Bash(grep -E \"\\\\.\\(h|cpp\\)$\")",
|
||||
"Bash(ls *.sln)",
|
||||
"Bash(ls CMakeCache.txt)",
|
||||
"PowerShell(& \"D:\\\\projects\\\\2026_dota_factory\\\\build\\\\DotaFactory\\\\Debug\\\\app\\\\DotaFactory_test.exe\" \"[behavior]\" 2>&1 | Select-Object -Last 30)",
|
||||
"PowerShell(& \"D:\\\\projects\\\\2026_dota_factory\\\\build\\\\DotaFactory\\\\Debug\\\\app\\\\DotaFactory_test.exe\" 2>&1 | Select-Object -Last 4)",
|
||||
"Bash(grep -iE \"error C[0-9]|error:|FAILED|\\\\.exe$\")",
|
||||
"Bash(./DotaFactory_test.exe)"
|
||||
]
|
||||
}
|
||||
}
|
||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -1 +1,5 @@
|
||||
/build/
|
||||
|
||||
# local Claude Code config (machine-specific; .mcp.json holds credentials)
|
||||
/.mcp.json
|
||||
/.claude/settings.local.json
|
||||
|
||||
Reference in New Issue
Block a user