mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-25 04:36:23 +00:00
* chore: update electron@25.3.0 * ci: update NodeTool version * chore: update @types/node * add more common types to layers checker * chore: update debian dependencies * chore: update rpm dependencies * fix: use legacy dns result order of Node.js * ci: remove deprecated always-auth npm config Refs npm/cli@72a7eeb * chore: update deb and rpm dependencies * chore: update armhf rpm dependencies * chore: update x64 debian dependencies * chore: update x64 rpm dependencies * chore: update electron@25.3.1 * chore: update electron@25.4.0 * chore: bump distro * chore: bump distro --------- Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Git static contributions and remote repository picker
Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.
Features
Git static contributions and remote repository picker.
API
The Git extension exposes an API, reachable by any other extension.
-
Copy
src/api/git-base.d.tsto your extension's sources; -
Include
git-base.d.tsin your extension's compilation. -
Get a hold of the API with the following snippet:
const gitBaseExtension = vscode.extensions.getExtension<GitBaseExtension>('vscode.git-base').exports; const git = gitBaseExtension.getAPI(1);