Replaces the previous contents of this branch, which added editor/OS and
shared-library rules that belong in Global/ per the contributing guidelines.
Two changes remain, both scoped to Julia.gitignore:
* `*.jl.*.mem` — `--track-allocation` writes `<file>.jl.<pid>.mem`, so the
existing `*.jl.mem` rule never matches the files Julia actually produces.
This mirrors the `--code-coverage` section, which already carries both
`*.jl.cov` and `*.jl.*.cov`.
* `.CondaPkg/` — CondaPkg creates this directory inside the active project
and populates it with a machine-specific Conda environment.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude Code creates git worktrees under .claude/worktrees/ at the repository
root. The official documentation explicitly recommends gitignoring this path
so worktree contents don't appear as untracked files in the main checkout.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
- The “Builds” folder pattern would match source code files starting
with “Builds”. Corrected to only match directories with Xojo’s
Builds folder naming convention.
- Removed blank line between comment heading and patterns
Adding a default `.gitignore` for new R projects is a nice features. Around 20% of CRAN packages contained compiled code, often C/C++ (and increasingly Rust etc). Those packages
will when `git add everything` is used also commit their object code and shared libraries. With this PR they will no longer so it should offer a small quality-of-life improvement to these repositories.
Hardhat (https://hardhat.org/) is a widely-used development
environment for Ethereum smart contracts. Its default project layout
generates several directories that should not be committed. This
template mirrors the .gitignore that ships in Hardhat's own
example-project (packages/example-project/.gitignore in
NomicFoundation/hardhat), limited to Hardhat-specific paths (generic
Node.js paths such as node_modules and dist are already covered by
Node.gitignore).
Rules:
- /artifacts, /cache: compiled contract output and compilation cache
- /types: TypeChain output for @nomicfoundation/hardhat-typechain (v3)
- /typechain-types: TypeChain output for @typechain/hardhat (v2)
- /ignition/deployments: Hardhat Ignition deployment output
Keep only documented local/high-churn agent artifacts active by default, preserving common shared instruction/config files as commented opt-in examples