Skip to content

Commit 4469ba4

Browse files
committed
Prevent Unity .gitignore from ignoring non-Unity project files
Unity only generates project files in the top-level directory. However, the current .gitignore will ignore all project files even if they were not generated by Unity. It is sometimes necessary to include non-Unity project files for level editors or other utility projects that have been added to the repository.
1 parent 768534c commit 4469ba4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Unity.gitignore

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[Oo]bj/
44

55
# Autogenerated VS/MD solution and project files
6-
*.csproj
7-
*.unityproj
8-
*.sln
9-
*.suo
10-
*.user
6+
/*.csproj
7+
/*.unityproj
8+
/*.sln
9+
/*.suo
10+
/*.user

0 commit comments

Comments
 (0)