Skip to content

Commit 101e22a

Browse files
prboroledc0d32
prborole
authored andcommitted
Add .gitignore and .gitattributes.
1 parent 061d81e commit 101e22a

File tree

2 files changed

+73
-79
lines changed

2 files changed

+73
-79
lines changed

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.gitignore

+10-79
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
3-
##
4-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
53

64
# User-specific files
75
*.suo
@@ -24,14 +22,11 @@ bld/
2422
[Oo]bj/
2523
[Ll]og/
2624

27-
# Visual Studio 2015/2017 cache/options directory
25+
# Visual Studio 2015 cache/options directory
2826
.vs/
2927
# Uncomment if you have tasks that create the project's static files in wwwroot
3028
#wwwroot/
3129

32-
# Visual Studio 2017 auto generated files
33-
Generated\ Files/
34-
3530
# MSTest test Results
3631
[Tt]est[Rr]esult*/
3732
[Bb]uild[Ll]og.*
@@ -45,29 +40,19 @@ TestResult.xml
4540
[Rr]eleasePS/
4641
dlldata.c
4742

48-
# Benchmark Results
49-
BenchmarkDotNet.Artifacts/
50-
51-
# .NET Core
43+
# DNX
5244
project.lock.json
5345
project.fragment.lock.json
5446
artifacts/
55-
**/Properties/launchSettings.json
56-
57-
# StyleCop
58-
StyleCopReport.xml
5947

60-
# Files built by Visual Studio
6148
*_i.c
6249
*_p.c
6350
*_i.h
6451
*.ilk
6552
*.meta
6653
*.obj
67-
*.iobj
6854
*.pch
6955
*.pdb
70-
*.ipdb
7156
*.pgc
7257
*.pgd
7358
*.rsp
@@ -105,9 +90,6 @@ ipch/
10590
*.vspx
10691
*.sap
10792

108-
# Visual Studio Trace Files
109-
*.e2e
110-
11193
# TFS 2012 Local Workspace
11294
$tf/
11395

@@ -128,14 +110,6 @@ _TeamCity*
128110
# DotCover is a Code Coverage Tool
129111
*.dotCover
130112

131-
# AxoCover is a Code Coverage Tool
132-
.axoCover/*
133-
!.axoCover/settings.json
134-
135-
# Visual Studio code coverage results
136-
*.coverage
137-
*.coveragexml
138-
139113
# NCrunch
140114
_NCrunch_*
141115
.*crunch*.local.xml
@@ -167,9 +141,9 @@ publish/
167141
# Publish Web Output
168142
*.[Pp]ublish.xml
169143
*.azurePubxml
170-
# Note: Comment the next line if you want to checkin your web deploy settings,
144+
# TODO: Comment the next line if you want to checkin your web deploy settings
171145
# but database connection strings (with potential passwords) will be unencrypted
172-
*.pubxml
146+
#*.pubxml
173147
*.publishproj
174148

175149
# Microsoft Azure Web App publish settings. Comment the next line if you want to
@@ -180,12 +154,12 @@ PublishScripts/
180154
# NuGet Packages
181155
*.nupkg
182156
# The packages folder can be ignored because of Package Restore
183-
**/[Pp]ackages/*
157+
**/packages/*
184158
# except build/, which is used as an MSBuild target.
185-
!**/[Pp]ackages/build/
159+
!**/packages/build/
186160
# Uncomment if necessary however generally it will be regenerated when needed
187-
#!**/[Pp]ackages/repositories.config
188-
# NuGet v3's project.json files produces more ignorable files
161+
#!**/packages/repositories.config
162+
# NuGet v3's project.json files produces more ignoreable files
189163
*.nuget.props
190164
*.nuget.targets
191165

@@ -202,7 +176,6 @@ AppPackages/
202176
BundleArtifacts/
203177
Package.StoreAssociation.xml
204178
_pkginfo.txt
205-
*.appx
206179

207180
# Visual Studio cache files
208181
# files ending in .cache can be ignored
@@ -219,12 +192,9 @@ ClientBin/
219192
*.jfm
220193
*.pfx
221194
*.publishsettings
195+
node_modules/
222196
orleans.codegen.cs
223197

224-
# Including strong name files can present a security risk
225-
# (https://github.com/github/gitignore/pull/2483#issue-259490424)
226-
#*.snk
227-
228198
# Since there are multiple workflows, uncomment next line to ignore bower_components
229199
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
230200
#bower_components/
@@ -239,19 +209,15 @@ _UpgradeReport_Files/
239209
Backup*/
240210
UpgradeLog*.XML
241211
UpgradeLog*.htm
242-
ServiceFabricBackup/
243-
*.rptproj.bak
244212

245213
# SQL Server files
246214
*.mdf
247215
*.ldf
248-
*.ndf
249216

250217
# Business Intelligence projects
251218
*.rdl.data
252219
*.bim.layout
253220
*.bim_*.settings
254-
*.rptproj.rsuser
255221

256222
# Microsoft Fakes
257223
FakesAssemblies/
@@ -261,17 +227,13 @@ FakesAssemblies/
261227

262228
# Node.js Tools for Visual Studio
263229
.ntvs_analysis.dat
264-
node_modules/
265230

266231
# Visual Studio 6 build log
267232
*.plg
268233

269234
# Visual Studio 6 workspace options file
270235
*.opt
271236

272-
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
273-
*.vbw
274-
275237
# Visual Studio LightSwitch build output
276238
**/*.HTMLClient/GeneratedArtifacts
277239
**/*.DesktopClient/GeneratedArtifacts
@@ -296,35 +258,4 @@ paket-files/
296258

297259
# Python Tools for Visual Studio (PTVS)
298260
__pycache__/
299-
*.pyc
300-
301-
# Cake - Uncomment if you are using it
302-
# tools/**
303-
# !tools/packages.config
304-
305-
# Tabs Studio
306-
*.tss
307-
308-
# Telerik's JustMock configuration file
309-
*.jmconfig
310-
311-
# BizTalk build output
312-
*.btp.cs
313-
*.btm.cs
314-
*.odx.cs
315-
*.xsd.cs
316-
317-
# OpenCover UI analysis results
318-
OpenCover/
319-
320-
# Azure Stream Analytics local run output
321-
ASALocalRun/
322-
323-
# MSBuild Binary and Structured Log
324-
*.binlog
325-
326-
# NVidia Nsight GPU debugger configuration file
327-
*.nvuser
328-
329-
# MFractors (Xamarin productivity tool) working folder
330-
.mfractor/
261+
*.pyc

0 commit comments

Comments
 (0)