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

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

內容簡介

Content Version for Git 外掛可將 WordPress 內容版本備份至 GitHub 儲存庫,為文章、頁面、分類和標籤創建修訂歷史,幫助編輯者和網站擁有者進行變更審核、版本比較、內容恢復及刪除資源的恢復。

【主要功能】
• 將 WordPress 內容備份至 GitHub
• 自動保存文章和頁面的 Git 版本
• 內容差異比較與版本恢復
• 刪除資源的檢視與恢復功能
• 支援媒體元數據和檔案追蹤
• 版本儲存儀表板顯示狀態

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Content Version for Git」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Content Version for Git backs up WordPress content versions to a GitHub repository. It creates a GitHub revision history for posts, pages, categories, tags, and optionally media metadata and original media files, so editors and site owners can audit changes, compare versions, restore earlier content, and recover deleted resources from wp-admin.
This is designed for site owners, agencies, and developers who want a GitHub-backed content audit trail without running Git on the WordPress server. 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:

GitHub backup and revision history for WordPress posts, pages, categories, tags, and optional media resources.
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, size, and GitHub version store status.
Direct GitHub API commits without a local Git worktree.

Safety boundaries:

Import Existing Content only writes versions to GitHub. It does not change WordPress posts, pages, media, categories, or tags.
No content is sent to GitHub until an administrator enables and configures the GitHub version store.
Use a private GitHub repository because versions may include unpublished content, metadata, and media files.
The GitHub token is not displayed after saving.
Normal version writes preserve unrelated files on the selected branch.
Reset GitHub Version Store rewrites the configured GitHub branch history, but it does not delete WordPress content.

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
Mastodon