# Build and Object Folders bin/ obj/ # Nuget packages directory packages/ #Logs logs/ .vs/ ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. # User-specific files *.suo *.user *.sln.docstates # Build results [Dd]ebug/ [Rr]elease/ x64/ *_i.c *_p.c *.ilk *.meta *.obj *.pch *.pdb *.pgc *.pgd *.rsp *.sbr *.tlb *.tli *.tlh *.tmp *.log *.vspscc *.vssscc .builds # Visual C++ cache files ipch/ *.aps *.ncb *.opensdf *.sdf # Visual Studio profiler *.psess *.vsp *.vspx # Guidance Automation Toolkit *.gpState # ReSharper is a .NET coding add-in _ReSharper* # NCrunch *.ncrunch* .*crunch*.local.xml # Installshield output folder [Ee]xpress # DocProject is a documentation generator add-in DocProject/buildhelp/ DocProject/Help UpgradeLog*.XML # Lightswitch _Pvt_Extensions GeneratedArtifacts *.xap ModelManifest.xml #Backup file *.bak
关于.gitignore文件不生效的问题 首先检查该文件是否和.git文件在同一目录。然后再检查当前git目录层级是否有两个.git文件夹其他目录还有.gitignore文件。然后才是
//git rm -r --cached . git add . git commit -m 'update .gitignore' git push