.gitignore for Core

27 ignore rules for Core, ready to copy into your repository.

Core dump files

The complete .gitignore for Core

# Generated by LFGitignore - https://lfgitignore.com
# Created: 2026-08-05 01:28:10 UTC
# Technologies: Core

### Core ###
# macOS folder settings (Desktop Services Store)
.DS_Store
[Dd]ebug/
*.*~
[Dd]ebugPublic/
[Rr]elease/
project.lock.json
[Rr]eleases/
x64/
# Vim swap file
*.swp
nupkg/
x86/
.vscode
# User-specific settings
*.user
.idea
# Solution user options
*.suo
*.userosscache
bld/
*.pyc
*.sln.docstates
[Bb]in/
[Oo]bj/
# Build output directory
build/
msbuild.log
msbuild.err
msbuild.wrn
.vs/
[Oo]ut/

What these Core rules actually ignore

Every pattern below, and why it belongs in your .gitignore.

General

Pattern What it ignores
.DS_Store macOS folder settings (Desktop Services Store)
*.*~ General
project.lock.json General
*.swp Vim swap file
nupkg/ General
*.pyc General

Build results

Pattern What it ignores
[Dd]ebug/ Build results
[Dd]ebugPublic/ Build results
[Rr]elease/ Build results
[Rr]eleases/ Build results
x64/ Build results
x86/ Build results
bld/ Build results
[Bb]in/ Build results
[Oo]bj/ Build results
build/ Build output directory
msbuild.log Build results
msbuild.err Build results
msbuild.wrn Build results
[Oo]ut/ Build results

Visual Studio Code

Pattern What it ignores
.vscode Visual Studio Code

Rider

Pattern What it ignores
.idea Rider

User-specific files

Pattern What it ignores
*.user User-specific settings
*.suo Solution user options
*.userosscache User-specific files
*.sln.docstates User-specific files

Visual Studio 2015

Pattern What it ignores
.vs/ Visual Studio 2015

How to use this .gitignore for Core

  1. Copy the Core rules above, or download the file directly.
  2. Create a file named .gitignore at the root of your Git repository and paste the rules into it.
  3. If some of those files are already tracked, run git rm -r --cached . then commit again — Git only applies ignore rules to untracked files.
  4. Commit the .gitignore so everyone on the team shares the same rules.

Other Other .gitignore templates

See every Other template