Skip to content

Commit 103740b

Browse files
committed
Fix solution/project files for nested directories.
By having the leading `/` infront of the `*` makes these types of files relative to the directory the gitignore is in. If you create a Unity project inside of a git directory Unity forces you to create a new directory, thus not picking up these files.
1 parent c6e6d99 commit 103740b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Unity.gitignore

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
[Bb]uild/
55

66
# Autogenerated VS/MD solution and project files
7-
/*.csproj
8-
/*.unityproj
9-
/*.sln
10-
/*.suo
11-
/*.user
12-
/*.userprefs
13-
/*.pidb
14-
/*.booproj
7+
*.csproj
8+
*.unityproj
9+
*.sln
10+
*.suo
11+
*.user
12+
*.userprefs
13+
*.pidb
14+
*.booproj
1515

1616
#Unity3D Generated File On Crash Reports
1717
sysinfo.txt

0 commit comments

Comments
 (0)