We use cookies to improve your experience. By continuing, you agree to our use of cookies. Learn More
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.
// 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.
© TinaCMS 2019–2025