]> source.dussan.org Git - gitignore.git/commitdiff
Prevent Unity .gitignore from ignoring non-Unity project files 836/head
authorJephir <jephir@jephir.name>
Mon, 11 Nov 2013 17:05:58 +0000 (12:05 -0500)
committerJephir <jephir@jephir.name>
Mon, 11 Nov 2013 17:09:08 +0000 (12:09 -0500)
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.

Unity.gitignore

index 123c99282fe8c5a86128c4e3dbb088d753358abc..682085a5cb47ecb1b44bca4ced45cf1a27c305d6 100644 (file)
@@ -3,8 +3,8 @@
 [Oo]bj/
 
 # Autogenerated VS/MD solution and project files
-*.csproj
-*.unityproj
-*.sln
-*.suo
-*.user
+/*.csproj
+/*.unityproj
+/*.sln
+/*.suo
+/*.user