[WordPress] 外掛分享: Content Version for Git

首頁外掛目錄 › Content Version for Git
WordPress 外掛 Content Version for Git 的封面圖片
全新外掛
安裝啟用
尚無評分
20 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v0.1.8 上架:2026-06-14

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1.8) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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.
Batched Git versions for direct category and tag relationship changes.
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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon