description |
---|
Synchronize your GitBook content with GitHub or GitLab with GitBook’s bi-directional integration. |
Git Sync allows technical teams to synchronize GitHub or GitLab repositories with GitBook and turn Markdown files into beautiful, user-friendly docs. Edit directly in GitBook’s powerful editor while keeping content synchronized with your codebase on GitHub or GitLab.
Git Sync is bi-directional, so changes you make directly in GitBook’s editor are automatically synced, as are any commits made on GitHub or GitLab. This allows developers to commit directly from GitHub or GitLab and technical writers, instructional designers and product managers to edit, discuss and feedback changes directly in GitBook.
{% hint style="info" %}
Permissions
Administrators and creators can enable and configure Git Sync.
{% endhint %}
{% embed url="https://www.youtube.com/watch?v=939zkInwJHg" %} GitSync Product Demo {% endembed %}
Enabling GitHub Sync | Learn how to enable the integration if you’re using GitHub | enabling-github-sync.md | 1 (1).png |
Enabling GitLab Sync | Learn how to enable the integration if you’re using GitLab | enabling-gitlab-sync.md | 2 (1).png |
Content configuration | Learn how to configure your content — including structure, summary and re-directs | content-configuration.md | 3 (1).png |
GitHub pull request previews | Learn how to preview the content before merging | github-pull-request-preview.md | 4 (1).png |
Commit messages & Autolink | Learn how to fine-tune GitSync through commit messages | commits.md | 5 (1).png |
Monorepos | Learn how to configure GitSync with a monorepo | monorepos.md | 6 (1).png |
Troubleshooting | Learn how to resolve common problems | troubleshooting.md | 7 (1).png |