ZaStoGram_desktop/.gitignore
loop-uh a00235d71e Keep agent instructions out of version control
AGENTS.md, REVIEW.md, .claude/ and .codex/ are written locally and describe how
this fork is built and released here. They do not belong in the published
repository, so drop them from the index and widen the ignore rules; the files
stay on disk untouched.

Upstream ships its own AGENTS.md and REVIEW.md, so merging upstream puts them
back into the index — .gitignore does not cover a path a merge already tracked.
Add a post-merge hook that removes them again, and record the manual command in
AGENTS.md for the cases a hook does not cover, such as rebase, cherry-pick, or a
merge stopped by conflicts.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-28 15:42:59 +03:00

89 lines
1.4 KiB
Text

/out/
Debug/
Release/
/ThirdParty/
/Telegram/build/target
/Telegram/build/ai-machine-tag
/Telegram/tests/
/Telegram/gyp/tests/*.test
/Telegram/out/
/Telegram/*.user
*.vcxproj*
*.sln
*.suo
*.sdf
*.opensdf
*.opendb
*.VC.db
*.aps
*.xcodeproj
ipch/
.vs/
.vscode/
.cache/
compile_commands.json
/Telegram/log.txt
/Telegram/data
/Telegram/data_config
/Telegram/DebugLogs/
/Telegram/tdata/
/Telegram/tdumps/
.DS_Store
._*
.qmake.stash
/Mac/
project.xcworkspace
xcuserdata
parts
prime
stage
*.snap
.snapcraft
/snap/gui/*.png
/snap/gui/*.desktop
/snap/plugins/__pycache__
/Telegram/*.user.*
*.txt.user
*.pro.user
/Linux/
/Telegram/Makefile
*.*~
.idea/
cmake-build-debug/
*.qsb
# Local configuration files
settings.local.json
*.local.json
.env
.env.local
.env.*.local
# Cursor IDE local settings (but keep .cursor/rules/)
.cursor/*
!.cursor/rules/
# Agent instructions and tooling. Written locally, never version-controlled — and
# never taken from upstream either: upstream ships its own AGENTS.md and REVIEW.md,
# and a merge that reintroduces them must drop them again (see .git/hooks/post-merge).
.ai
/.agents/
/.claude/
/.codex/
/AGENTS.md
/REVIEW.md
# Generated changelog page (built by CI, deployed to GitHub Pages)
/docs/changelog/
/Telegram/SourceFiles/tests/__pycache__
cmake
/docs
Telegram/SourceFiles/mtproto.zip
*.pyc
*.patch
# Qt patches applied by prepare.py during library builds must stay tracked.
!Telegram/build/patches_extra/**/*.patch