Skip to content

Instantly share code, notes, and snippets.

@omid3098
Created June 12, 2017 09:32
Show Gist options
  • Save omid3098/eec7c81c6bebbdaef4185016287bc156 to your computer and use it in GitHub Desktop.
Save omid3098/eec7c81c6bebbdaef4185016287bc156 to your computer and use it in GitHub Desktop.
Unity + vscode .gitignore
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/Assets/AssetStoreTools*
# Visual Studio 2015 cache directory
/.vs/
# Visual Studio code
.vscode/*
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
# Unity3D generated meta files
*.pidb.meta
# Unity3D Generated File On Crash Reports
sysinfo.txt
# Builds
*.apk
*.unitypackage
@smitdylan2001
Copy link

It ignores the vscode folder

Visual Studio code

.vscode/*

@omid3098
Copy link
Author

omid3098 commented May 3, 2023

Let me recommend gitignore addon for VsCode. It supports Unity and I'm using that one for years.
This gist should not ignore meta files if you want to keep asset preferences between your teammates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment