Plugin
GitDocumentDB extends its functions with Plugin System. A plugin adds a new feature to GitDocumentDB Class or changes the way to sync and merge repositories.
#
git-documentdb-plugin-remote-nodegitThis tutorial describes 'git-documentdb-plugin-remote-nodegit' plugin. It is a NodeGit remote engine. It supports SSH keys and PATs for authentication to GitHub.
#
Install pluginIf you get an error while installing the plugin, see the build section.
Load NodeGit remote engine plugin before creating a GitDocumentDB instance.
Now you can select 'nodegit' engine to connect to a remote repository.
NodeGit plugin also allows SSH authentication type.
note
You can find more examples in examples/src/plugin.ts
You can find more about plugins in Plugin System.