Skip to content

Commit 1e18d3f

Browse files
committed
hides git updates and files in vscode explorer
1 parent 4ac01da commit 1e18d3f

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

.devcontainer/devcontainer.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,20 @@
77
"customizations": {
88
"vscode": {
99
"settings": {
10-
"files.exclude": {
11-
"**/.git": true
12-
13-
},
10+
"git.ignoredRepositories": ["."],
11+
"files.exclude": {
12+
"**/.vscode": true,
13+
"**/.devcontainer": true,
14+
"**/.git": true,
15+
"**/.gitignore": true,
16+
"**/.gitpod.Dockerfile": true,
17+
"**/.gitpod.yml": true,
18+
"**/.markdownlint-cli2.yaml": true,
19+
"**/.pre-commit-config.yaml": true,
20+
"**/Dockerfile": true,
21+
"**/mkdocs.yml": true,
22+
"**/scripts": true
23+
},
1424
"editor.tabSize": 8,
1525
"editor.indentSize": 4,
1626
"editor.detectIndentation": false,
@@ -36,5 +46,5 @@
3646
]
3747
}
3848
},
39-
"postCreateCommand": "find . -wholename '*.git*' -type d -prune -o -type f -exec chown vscode:vscode {} \\; && sh /workspaces/r-dev-env/scripts/localscript.sh && sudo chown root:root .git && sudo chmod 700 .git"
49+
"postCreateCommand": "find . -wholename '*.git*' -type d -prune -o -type f -exec chown vscode:vscode {} \\; && sh /workspaces/r-dev-env/scripts/localscript.sh"
4050
}

0 commit comments

Comments
 (0)