We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.vscode/settings.json
1 parent 97f307c commit 5f77b80Copy full SHA for 5f77b80
tool/git-ignore-vscode-settings.ps1
@@ -0,0 +1,17 @@
1
+# ---------------------------------------------------------------
2
+# SPDX-License-Identifier: GPL-3.0-or-later
3
4
+# File Name : git-ignore-vscode-settings.ps1
5
+# File Authors : Aoran Zeng <[email protected]>
6
+# Created On : <2025-08-17>
7
+# Last Modified : <2025-08-17>
8
+#
9
+# VS Code 的某些操作/插件会频繁地修改我们的 .vscode/settings.json
10
+# 文件,非常非常烦人,但是该文件又应该被加入仓库,所以我们使用以下
11
+# 命令来忽略它在本地的变化
12
13
+
14
+git update-index --skip-worktree .\.vscode\settings.json
15
16
+# 恢复方法是:
17
+# git update-index --no-skip-worktree .\.vscode\settings.json
0 commit comments