plugin-icon

Content Version for Git

제작자: maksonlee·
GitHub-backed version history for WordPress posts, pages, and media.
버전
0.1.7
최근 업데이트일
Jun 20, 2026
Content Version for Git

Content Version for Git stores editable WordPress content snapshots in a configured GitHub repository. It versions posts, pages, terms, and optionally media metadata and original media files. Editors can preview, diff, and restore previous versions from the WordPress admin.

The plugin writes and reads Git objects through the GitHub API. It does not keep a local Git repository and does not call the git CLI.

Features include:

  • Automatic Git versions for normal post and page saves.
  • Side-by-side content diffs and field diffs.
  • Full restore and content-only restore modes.
  • Deleted Resources view for posts, pages, and tracked media.
  • Restore deleted posts/pages as new drafts and deleted media as new attachments.
  • Optional media metadata and file tracking.
  • Manual import of existing posts, pages, and media.
  • Version store dashboard with branch, latest commit, tracked file count, and GitHub version store status.
  • Direct GitHub API commits without a local Git worktree.

External Services

This plugin connects to GitHub when the “Enable GitHub version store” setting is enabled and a repository URL, branch, and personal access token are configured.

When enabled, the plugin writes Git commits directly to the configured GitHub repository using the GitHub API. Commit data may include post/page content, metadata, term references, media metadata, and media files if media tracking is enabled.

Create the GitHub repository before configuring the plugin. The repository may be empty, and the plugin can initialize an empty repository on the first write, but it does not create GitHub repositories. Use a dedicated repository or a dedicated branch for this plugin’s version store. Normal version writes preserve unrelated files on the branch, but Reset GitHub Version Store rewrites the configured branch history.

For fine-grained personal access tokens, select only the version-store repository and grant Contents read and write access. Organization repositories may require organization approval for the token before the plugin can use it.

The GitHub version store is disabled by default. No data is sent to GitHub unless a site administrator enables and configures it. Without the GitHub version store, this plugin does not keep durable local Git versions. GitHub’s terms and privacy policy apply:

  • https://docs.github.com/en/site-policy/github-terms/github-terms-of-service
  • https://docs.github.com/en/site-policy/privacy-policies/github-privacy-statement
무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 7.0
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.