Git Visual Studio gitignore 去除不需要的dll Nuget包等等文件
来源:互联网 发布:腾讯抽奖软件 编辑:程序博客网 时间:2024/06/06 20:46
Git Repository上传Visual Studio项目忽略不需要的文件
来源:GitHub
现在用git管理项目的开发人员越来越多,作为新手肯定有遇到很多问题(如我),例如其中一个就是好不容易打了那么多git指令,上传项目成功,下载在另一台电脑后能够运行,结果发现有好多dll,pdb,等文件都是changed等待commit的状态,而且一般由于nuget的package项目的容量也很大,着实让人头疼
现分享一个gitignore文件(文件名必须为gitignore,无后缀名),将该文件放在.git文件夹下(隐藏文件),接着在重新push整个项目就OK了,非常好用。
## Ignore Visual Studio temporary files, build results, and## files generated by popular Visual Studio add-ons.# User-specific files*.suo*.user*.userosscache*.sln.docstates# User-specific files (MonoDevelop/Xamarin Studio)*.userprefs# Build results[Dd]ebug/[Dd]ebugPublic/[Rr]elease/[Rr]eleases/x64/x86/bld/[Bb]in/[Oo]bj/[Ll]og/# Visual Studio 2015 cache/options directory.vs/# Uncomment if you have tasks that create the project's static files in wwwroot#wwwroot/# MSTest test Results[Tt]est[Rr]esult*/[Bb]uild[Ll]og.*# NUNIT*.VisualState.xmlTestResult.xml# Build Results of an ATL Project[Dd]ebugPS/[Rr]eleasePS/dlldata.c# DNXproject.lock.jsonartifacts/*_i.c*_p.c*_i.h*.ilk*.meta*.obj*.pch*.pdb*.pgc*.pgd*.rsp*.sbr*.tlb*.tli*.tlh*.tmp*.tmp_proj*.log*.vspscc*.vssscc.builds*.pidb*.svclog*.scc# Chutzpah Test files_Chutzpah*# Visual C++ cache filesipch/*.aps*.ncb*.opendb*.opensdf*.sdf*.cachefile# Visual Studio profiler*.psess*.vsp*.vspx*.sap# TFS 2012 Local Workspace$tf/# Guidance Automation Toolkit*.gpState# ReSharper is a .NET coding add-in_ReSharper*/*.[Rr]e[Ss]harper*.DotSettings.user# JustCode is a .NET coding add-in.JustCode# TeamCity is a build add-in_TeamCity*# DotCover is a Code Coverage Tool*.dotCover# NCrunch_NCrunch_*.*crunch*.local.xmlnCrunchTemp_*# MightyMoose*.mm.*AutoTest.Net/# Web workbench (sass).sass-cache/# Installshield output folder[Ee]xpress/# DocProject is a documentation generator add-inDocProject/buildhelp/DocProject/Help/*.HxTDocProject/Help/*.HxCDocProject/Help/*.hhcDocProject/Help/*.hhkDocProject/Help/*.hhpDocProject/Help/Html2DocProject/Help/html# Click-Once directorypublish/# Publish Web Output*.[Pp]ublish.xml*.azurePubxml# TODO: Comment the next line if you want to checkin your web deploy settings # but database connection strings (with potential passwords) will be unencrypted*.pubxml*.publishproj# NuGet Packages*.nupkg# The packages folder can be ignored because of Package Restore**/packages/*# except build/, which is used as an MSBuild target.!**/packages/build/# Uncomment if necessary however generally it will be regenerated when needed#!**/packages/repositories.config# NuGet v3's project.json files produces more ignoreable files*.nuget.props*.nuget.targets# Microsoft Azure Build Outputcsx/*.build.csdef# Microsoft Azure Emulatorecf/rcf/# Windows Store app package directories and filesAppPackages/BundleArtifacts/Package.StoreAssociation.xml_pkginfo.txt# Visual Studio cache files# files ending in .cache can be ignored*.[Cc]ache# but keep track of directories ending in .cache!*.[Cc]ache/# OthersClientBin/~$**~*.dbmdl*.dbproj.schemaview*.pfx*.publishsettingsnode_modules/orleans.codegen.cs# Since there are multiple workflows, uncomment next line to ignore bower_components # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)#bower_components/# RIA/Silverlight projectsGenerated_Code/# Backup & report files from converting an old project file# to a newer Visual Studio version. Backup files are not needed,# because we have git ;-)_UpgradeReport_Files/Backup*/UpgradeLog*.XMLUpgradeLog*.htm# SQL Server files*.mdf*.ldf# Business Intelligence projects*.rdl.data*.bim.layout*.bim_*.settings# Microsoft FakesFakesAssemblies/# GhostDoc plugin setting file*.GhostDoc.xml# Node.js Tools for Visual Studio.ntvs_analysis.dat# Visual Studio 6 build log*.plg# Visual Studio 6 workspace options file*.opt# Visual Studio LightSwitch build output**/*.HTMLClient/GeneratedArtifacts**/*.DesktopClient/GeneratedArtifacts**/*.DesktopClient/ModelManifest.xml**/*.Server/GeneratedArtifacts**/*.Server/ModelManifest.xml_Pvt_Extensions# Paket dependency manager.paket/paket.exepaket-files/# FAKE - F# Make.fake/# JetBrains Rider.idea/*.sln.iml
0 0
- Git Visual Studio gitignore 去除不需要的dll Nuget包等等文件
- git .gitignore 忽略不需要被提交的文件
- 使用Git版本控制 .gitignore 忽略不需要提交的文件
- 使用Git版本控制 .gitignore 忽略不需要提交的文件
- git 的gitignore文件
- git的.gitignore文件
- Android Studio Git .gitignore文件简洁正确的写法
- NuGet管理dll包---与NuGet的邂逅
- android studio git忽略文件.gitignore
- Android Studio Git 获取.gitignore文件
- 【Visual Studio】解决方案未保存,请先保存你的解决方案,然后再管理Nuget包
- Visual Studio开启Nuget
- git的.gitignore文件例子
- git的 .gitignore 文件编写
- 【Git】.gitignore文件的说明。
- NuGet管理dll包--dll包的发布与引用
- Visual Studio .gitignore样例
- Android Studio中 git 的.gitignore配置
- oracle11g 在azure云中使用rman进行实例迁移
- 六款小巧的HTTP Server
- 在matlab上安装svm
- 第五周项目1-三角形类雏形(1)
- 更新ubuntu15.10内核后,驱动解决
- Git Visual Studio gitignore 去除不需要的dll Nuget包等等文件
- 浮点数用double
- android项目引用library导致引用android-support-v4.jar冲突
- c++设计一个计时器(能够暂停,重新开始,继续)的功能。写的不好,仅供参考!
- usb总线系统介绍
- BZOJ_P1452 [JSOI2009]Count(二维树状数组)
- hdu 【1715】大菲波数
- Python使用sqlite3操作数据库
- 业务 加载DB数据到内存的 一些基本原则