From 103740bdb18b49e4a348633b69f3d8ce0d46a677 Mon Sep 17 00:00:00 2001 From: Joel Kuntz Date: Thu, 4 Dec 2014 21:43:44 -0400 Subject: [PATCH] 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. --- Unity.gitignore | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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