Disconnect a Site from GitHub

If you need to, you can disconnect a site from GitHub. When you do this, the site retains the code from the most recent commit to the GitHub repo's default branch. After disconnecting, the repo still exists in GitHub but changes to it aren't reflected on the site. Once a site is disconnected from GitHub, the editor exits read-only mode.

Important: Once you disconnect a site from GitHub and from a repo, you can't reconnect the site to that repo again. If you reconnect a site to GitHub later, a new repo is created.

To disconnect from GitHub:

  1. Click the GitHub Integration icon on the sidebar.
  2. Hover over the repo's name and click the More Actions icon.
  3. Select Disconnect from GitHub.
  4. In the modal, click Disconnect from GitHub.
Did this help?