See also:
Article

Migrating from Google Cloud Source Repositories to GitHub

How to import a repository from Google Cloud Source to GitHub?
Github and Google Cloud Source logos

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
Last updated on 12/4/2019 by Anton Vasetenkov.