vs2019 git 提交忽略文件

本文指导如何在VS2019中设置Git忽略文件,避免提交临时、编译结果及第三方插件产生的文件。建议从GitHub的VisualStudio.gitignore获取最新模板,并列出了一系列可忽略的文件类型,包括Visual Studio的缓存、用户特定文件、编译结果、测试结果、代码覆盖率等。
摘要由CSDN通过智能技术生成

点击工具-》源代码管理-》Git存储库设置-》常规-》Git files 忽略文件 编辑

Ignore Visual Studio temporary files, build results, and

files generated by popular Visual Studio add-ons.

Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

User-specific files

*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates

User-specific files (MonoDevelop/Xamarin Studio)

*.userprefs

Mono auto generated files

mono_crash.*

Build results

[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
[Ww][Ii][Nn]32/
[Aa][Rr][Mm]/
[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
[Ll]ogs/

Visual Studio 2015/2017 cache/options directory

.vs/

Uncomment if you have tasks that create the project’s static files in wwwroot

#wwwroot/

Visual Studio 2017 auto generated files

Generated\ Files/

MSTest test Results

[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*

NUnit

.VisualState.xml
TestResult.xml
nunit-
.xml

Build Results of an ATL Project

[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c

Benchmark Results

BenchmarkDotNet.Artifacts/

.NET Core

project.lock.json
project.fragment.lock.json
artifacts/

ASP.NET Scaffolding

ScaffoldingReadMe.txt

StyleCop

StyleCopReport.xml

Files built by Visual Studio

*_i.c
*_p.c
*_h.h
*.ilk
*.meta
*.obj
*.iobj
*.pch
*.pdb
*.ipdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*_wpftmp.csproj
*.log
*.tlog
*.vspscc
*.vssscc
.builds
*.pidb

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值