| 开发者 | maksonlee |
|---|---|
| 更新时间 | 2026年6月20日 08:36 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/content-version-for-git/ directory, or install the plugin through the WordPress plugins screen.GitHub is the version store. The plugin reads and writes versions through the GitHub API without a local Git repository.
No. It adds a Git-backed version history for selected WordPress resources.
No. The GitHub version store is disabled until an administrator enables it and provides a repository URL, branch, and token. Without GitHub configured, versions are not durably stored and the plugin does not keep a local Git repository.
Create the repository in GitHub before configuring the plugin. The repository can be private or public, but private is strongly recommended because content versions can include unpublished content, metadata, and media files. The repository may be empty. If it is empty, the plugin can initialize the configured branch on the first write.
Yes, but a dedicated repository or dedicated branch is strongly recommended. Normal version writes use the current branch head as the parent commit and preserve unrelated files. If the branch already contains Content Version for Git files under posts/, pages/, or media/, use Rebuild GitHub Index after connecting it to a site that has not indexed it yet.
Reset GitHub Version Store rewrites the configured branch to a new empty history. WordPress content is not deleted, but unrelated files and commits on that branch will no longer be part of the branch history after reset.
Use a token that can read and write contents in the selected repository. For fine-grained personal access tokens, select the version-store repository and grant Contents read and write access.
The version is not stored. Configure GitHub before relying on the plugin for durable version history.
Only when media tracking is enabled. In that mode, referenced media metadata and files are committed directly to GitHub.