From: Joel Kuntz Date: Fri, 5 Dec 2014 01:43:44 +0000 (-0400) Subject: Fix solution/project files for nested directories. X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=103740bdb18b49e4a348633b69f3d8ce0d46a677;p=gitignore.git 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. --- diff --git a/Unity.gitignore b/Unity.gitignore index 9d8e1156..21d2efd7 100644 --- a/Unity.gitignore +++ b/Unity.gitignore @@ -4,14 +4,14 @@ [Bb]uild/ # Autogenerated VS/MD solution and project files -/*.csproj -/*.unityproj -/*.sln -/*.suo -/*.user -/*.userprefs -/*.pidb -/*.booproj +*.csproj +*.unityproj +*.sln +*.suo +*.user +*.userprefs +*.pidb +*.booproj #Unity3D Generated File On Crash Reports sysinfo.txt