See also:
Quaject
Articles
Topics
How-tos
Github and Google Cloud Source logos

Migrating from Google Cloud Source Repositories to GitHub

Anton Vasetenkov
Web, data, bio, language.
GitHub
Git
Google Cloud Platform

Follow these steps to export a repository from Google Cloud Source Repositories to GitHub:

  1. Create a repository in GitHub, e.g. https://github.com/octocat/my-repo. This will be the target repository.

  2. Clone the original repository from Google Cloud Source Repositories:

    git clone --bare ssh://EMAIL@source.developers.google.com:2022/p/PROJECT_ID/r/REPOSITORY
    cd REPOSITORY.git
  1. From the cloned repository directory, push the repository to GitHub:

    git push --mirror https://github.com/octocat/my-repo.git
See also