GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing gitbook.com — Enabling GitHub Sync | GitBook Documentation This guide will take you through setting up your GitBook site with a repo on GitHub. ![]() 2 Connect GitHubConnect the GitHub account that has access to the repository you want to sync. If you see a 'Potential duplicated accounts' error message at this step, this means your GitHub account is already linked with another GitBook user account. To help you identify which accounts are linked, you will have to log out from this session and log in using the sign-in with GitHub method. If you already know your GitBook account associated with GitHub, you can log in to that user account and unlink your GitHub account (done in settings) before logging back in and linking your current account. Read more on our troubleshooting page. 3 Select a repository and branchUnder Source repository, select the repository that contains your documentation. Select the branch that GitBook syncs with. If the branch doesn’t exist, GitBook creates it during the initial sync. Can’t find your repository? If you can't find your repository in the list, make sure that you've installed the GitBook GitHub app in the right scope (i.e. your personal account or the GitHub org where the repository lives). You should also check that you’ve configured the correct repository access in the GitBook GitHub app. 4 Choose an initial sync directionChoose the source of truth for the initial sync. Select Swap direction if the repository content should replace the GitBook content. GitHub → GitBook can replace your section’s content. GitBook replaces the section with the content of the selected branch. If the repository is empty, or is behind GitBook because recent change requests haven’t been exported yet, that content is lost from the section and your published site. You choose a direction every time you set up Git Sync, including when you reconnect it or re-create an existing connection. Before you start the sync, confirm the repository, branch, and direction. If you choose GitHub → GitBook, check that the branch’s latest commit includes your most recent merged change requests. If content was replaced, see Troubleshooting to restore it. 5 Set the project directoryIf your documentation lives in a subdirectory, enter it under Project directory. GitBook stores your site’s 6 7 Exclude a space from site-wide Git SyncIn the site’s Git Sync content mapping, click the remove icon next to the space you want to exclude. You can then configure Git Sync from that space. If the site already has Git Sync, GitBook asks you to choose a scope:
If the site doesn’t use Git Sync, GitBook configures Git Sync independently for the space. To configure Git Sync for a single space, in the space you want to sync, click Set up next to Git Sync in the space header. From the provider list, click GitHub Sync. The GitHub app that powers our GitHub integration is currently not available to customers on GitHub Enterprise Server instances. Last updated Was this helpful? |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |