Version history
The version history shows all actions that changed content in your space:- Live edits — Direct edits made to the space
- Change requests — Merged change requests
- Git Sync — Sync operations from GitHub or GitLab
View version history
Access version history by:- Clicking the Version history button in the space header
- Or opening the Actions menu next to the space title and choosing Version history
Version history works similarly to viewing change requests—you can see exactly what changed and when.
Show changes
When viewing an old version, highlight the differences between old and current content:- Open the version you want to review
- Toggle Show changes at the bottom of the version history panel
View historical published versions
For published spaces, you can preview what previous versions looked like to end users. To view a historical published version:- Open version history and select a revision
- Copy the ID at the end of the URL
- Add it to your published docs URL:
/~/revisions/<id>
- Example
If your published URL is:And your revision ID is:The historical version URL would be:
Roll back to a previous version
Rolling back reverts your space’s content to a previous point in time. This is helpful if you’ve accidentally made a breaking change or deleted content. To roll back:- Open version history
- Find the version you want to restore
- Hover over it and click the Actions button
- Select Rollback
- Confirm the rollback
Version history for change requests
You can also view version history for individual change requests to see the activity within that specific change request. This helps you understand:- What edits were made during the change request
- Who made each edit
- When edits occurred
- The progression of changes before merging
Best practices
Review before rollback
Always review the historical version before rolling back to ensure it’s correct
Use change requests
Make major changes in change requests to track changes more granularly
Regular backups
Periodically review version history to understand content evolution
Communicate rollbacks
Inform your team when rolling back to avoid confusion
Version history vs. Git Sync
GitBook’s version history is separate from Git history: GitBook version history:- Tracks changes within GitBook (live edits, change requests, Git syncs)
- Provides visual diff view
- Offers one-click rollback
- Shows changes in GitBook’s visual editor format
- Tracks commits in your repository
- Provides code-level changes
- Integrates with Git workflows
- Shows changes in Markdown format
- GitBook changes sync to Git commits
- Git commits sync to GitBook version history
- Roll back in GitBook or revert in Git—both work
For teams using Git Sync, you can choose whether to manage versions in GitBook’s interface or through Git workflows.
Tracking specific changes
Version history provides detailed information about each change: Live edits:- Show the editor who made changes
- Display the timestamp
- Highlight affected pages
- Show the change request title
- Display who merged it
- Link to the original change request
- Show all pages modified
- Show the commit message
- Display the commit author
- Show synchronized files
- Link to the repository commit