Просмотр исходного кода

chore(config): 配置 git 远程仓库

wangcong 3 месяцев назад
Родитель
Сommit
163b6bf2b6
1 измененных файлов с 19 добавлено и 0 удалено
  1. 19 0
      .vscode/settings.json

+ 19 - 0
.vscode/settings.json

@@ -40,6 +40,25 @@
     "@": "${workspaceFolder}/src"
   },
   "typescript.tsdk": "node_modules/typescript/lib",
+  "gitlens.remotes": [
+    {
+      "domain": "192.168.1.224:10880",
+      "type": "Custom",
+      "name": "Unimat Git",
+      "protocol": "http",
+      "urls": {
+        "repository": "http://192.168.1.224:10880/${repo}",
+        "branches": "http://192.168.1.224:10880/${repo}/branches",
+        "branch": "http://192.168.1.224:10880/${repo}/commits/${branch}",
+        "commit": "http://192.168.1.224:10880/${repo}/commit/${id}",
+        "file": "http://192.168.1.224:10880/${repo}?path=${file}${line}",
+        "fileInBranch": "http://192.168.1.224:10880/${repo}/blob/${branch}/${file}${line}",
+        "fileInCommit": "http://192.168.1.224:10880/${repo}/blob/${id}/${file}${line}",
+        "fileLine": "#L${line}",
+        "fileRange": "#L${start}-L${end}"
+      }
+    }
+  ],
   "GitCommitPlugin.ShowEmoji": false,
   "GitCommitPlugin.MaxSubjectCharacters": 60
 }