Tina Docs
Introduction
Core Concepts
Querying Content
Editing
Customizing Tina
Going To Production
Media
Drafts
Guides
Further Reference
Table of Contents

The Git Provider is responsible for saving content to the Git hosting provider. It is set as a property on the configuration passed to the createDatabase function. By default, we support a GitHub Git Provider. If you do not use GitHub, you can make your own.

Adding a Git Provider

// database.{ts,js}
//...
export default isLocal ? createLocalDatabase() ? createDatabase({
gitProvider: new SomeGitProvider(),
// ...
})

Where SomeGitProvider is a class that implements the GitProvider interface.

Please read GitHub Git Provider to see how to set up interaction with GitHub.