Skip to content

Commit 04b1040

Browse files
nschonnisergey-shandar
authored andcommitted
chore: Add initial .gitattributes for line endings (Azure#4746)
No normalizaton, just tested updated .gitignore for some excluded files when checking with `git rm -rf --cached . && git add .`
1 parent 32c02c3 commit 04b1040

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=auto

.gitignore

+6-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ SdkCodeGen
7676
# Visual Studio #
7777
.settings/
7878
.vs/
79-
.vscode/
8079
/app.js
8180
*.suo
8281
*.user
@@ -105,4 +104,9 @@ output/*
105104
errors.txt
106105
warnings.txt
107106

108-
/dist/
107+
# VS Code files
108+
.vscode/*
109+
!.vscode/settings.json
110+
!.vscode/tasks.json
111+
!.vscode/launch.json
112+
!.vscode/extensions.json

0 commit comments

Comments
 (0)