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.
1 parent b395575 commit bbede2dCopy full SHA for bbede2d
extensions/git-base/README.md
@@ -0,0 +1,20 @@
1
+# Git static contributions and remote repository picker
2
+
3
+**Notice:** This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.
4
5
+## Features
6
7
+Git static contributions and remote repository picker.
8
9
+## API
10
11
+The Git extension exposes an API, reachable by any other extension.
12
13
+1. Copy `src/api/git-base.d.ts` to your extension's sources;
14
+2. Include `git-base.d.ts` in your extension's compilation.
15
+3. Get a hold of the API with the following snippet:
16
17
+ ```ts
18
+ const gitBaseExtension = vscode.extensions.getExtension<GitBaseExtension>('vscode.git-base').exports;
19
+ const git = gitBaseExtension.getAPI(1);
20
+ ```
0 commit comments