Skip to content

Commit 25fdc82

Browse files
committed
Add standard gitattributes and gitignore
1 parent 5f8c895 commit 25fdc82

File tree

2 files changed

+185
-0
lines changed

2 files changed

+185
-0
lines changed

.gitattributes

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

.gitignore

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
# Build Folders (you can keep bin if you'd like, to store dlls and pdbs)
2+
[Bb]in/
3+
[Oo]bj/
4+
5+
# mstest test results
6+
TestResults
7+
8+
## Ignore Visual Studio temporary files, build results, and
9+
## files generated by popular Visual Studio add-ons.
10+
11+
# User-specific files
12+
*.suo
13+
*.user
14+
*.sln.docstates
15+
.vs/
16+
17+
# Build results
18+
[Dd]ebug/
19+
[Rr]elease/
20+
x64/
21+
*_i.c
22+
*_p.c
23+
*.ilk
24+
*.meta
25+
*.obj
26+
*.pch
27+
*.pdb
28+
*.pgc
29+
*.pgd
30+
*.rsp
31+
*.sbr
32+
*.tlb
33+
*.tli
34+
*.tlh
35+
*.tmp
36+
*.log
37+
*.vspscc
38+
*.vssscc
39+
.builds
40+
41+
# Visual C++ cache files
42+
ipch/
43+
*.aps
44+
*.ncb
45+
*.opensdf
46+
*.sdf
47+
48+
# Visual Studio profiler
49+
*.psess
50+
*.vsp
51+
*.vspx
52+
53+
# Guidance Automation Toolkit
54+
*.gpState
55+
56+
# ReSharper is a .NET coding add-in
57+
_ReSharper*
58+
59+
# NCrunch
60+
*.ncrunch*
61+
.*crunch*.local.xml
62+
63+
# GhostDoc
64+
*.GhostDoc.xml
65+
66+
# Installshield output folder
67+
[Ee]xpress
68+
69+
# DocProject is a documentation generator add-in
70+
DocProject/buildhelp/
71+
DocProject/Help/*.HxT
72+
DocProject/Help/*.HxC
73+
DocProject/Help/*.hhc
74+
DocProject/Help/*.hhk
75+
DocProject/Help/*.hhp
76+
DocProject/Help/Html2
77+
DocProject/Help/html
78+
79+
# Click-Once directory
80+
publish
81+
82+
# Publish Web Output
83+
*.Publish.xml
84+
85+
# NuGet Packages Directory
86+
packages
87+
88+
# Windows Azure Build Output
89+
csx
90+
*.build.csdef
91+
92+
# Windows Store app package directory
93+
AppPackages/
94+
95+
# Others
96+
[Bb]in
97+
[Oo]bj
98+
sql
99+
TestResults
100+
[Tt]est[Rr]esult*
101+
*.Cache
102+
ClientBin
103+
[Ss]tyle[Cc]op.*
104+
~$*
105+
*.dbmdl
106+
Generated_Code #added for RIA/Silverlight projects
107+
108+
# Backup & report files from converting an old project file to a newer
109+
# Visual Studio version. Backup files are not needed, because we have git ;-)
110+
_UpgradeReport_Files/
111+
Backup*/
112+
UpgradeLog*.XML
113+
114+
artifacts
115+
build
116+
tools
117+
118+
*.lock.json
119+
*.nuget.targets
120+
*.nuget.props

0 commit comments

Comments
 (0)