A fully open-source headless CMS that supports Markdown and Visual Editing
Method on the deprecated GitFile class (PR #5715). Performs a commit through the legacy GitClient REST endpoint; content commits now flow through the TinaCMS GraphQL mutation pipeline.
411d until removal
/**
* @deprecated
*/
commit = () => {
return this.git.commit!({
files: [this.relativePath],
}).then((response: Response) =>
this.cms.events.dispatch({ type: 'git:commit', response })
);
};Submit the form through the TinaCMS client mutation flow.