title: Unity .gitignore not ignoring .asset files
body: <p>I am currently trying to block changes to my git version control that deal with .asset files in a certain folder. Even if I put in the following line, .asset files and their associated .meta files get added to the commit. I have even tried blocking the specific folder that that data is in but it still pushes. I am wonder if one of the previous lines in the gitignore is messing something up.</p>
  
  <blockquote>
    <p>*.asset</p>
  </blockquote>
  
  <pre><code># This .gitignore file should be placed at the root of your Unity project directory
  #
  # Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
  #
  [Ll]ibrary/
  [Tt]emp/
  [Oo]bj/
  [Bb]uild/
  [Bb]uilds/
  [Ll]ogs/
  [Mm]emoryCaptures/
  
  # Asset meta data should only be ignored when the corresponding asset is also ignored
  !/[Aa]ssets/**/*.meta
  
  # Uncomment this line if you wish to ignore the asset store tools plugin
  # /[Aa]ssets/AssetStoreTools*
  
  # Autogenerated Jetbrains Rider plugin
  [Aa]ssets/Plugins/Editor/JetBrains*
  
  # Visual Studio cache directory
  .vs/
  
  # Gradle cache directory
  .gradle/
  
  # Autogenerated VS/MD/Consulo solution and project files
  ExportedObj/
  .consulo/
  *.csproj
  *.unityproj
  *.sln
  *.suo
  *.tmp
  *.user
  *.userprefs
  *.pidb
  *.booproj
  *.svd
  *.pdb
  *.mdb
  *.opendb
  *.VC.db
  
  # Unity3D generated meta files
  *.pidb.meta
  *.pdb.meta
  *.mdb.meta
  
  # Unity3D generated file on crash reports
  sysinfo.txt
  
  # Builds
  *.apk
  *.unitypackage
  
  # Crashlytics generated file
  crashlytics-build.properties
  
  # SongPong Specific ___CUSTOM___
  *.swp
  *.asset
  #Ignore all .meta file
  *.meta
  #But not source file with postfix. which is everything but a folder
  !*.*.meta
  </code></pre>
  
  <p>Furthermore, if anyone uses any better/more updated gitignores for unity, I would also appreciate that</p>