Eckher
EckherInsightsContact
Eckher
Your guide to what's next.
Migrating from Google Cloud Source Repositories to GitHub
Dec 4, 2019

Migrating from Google Cloud Source Repositories to GitHub

How to import a repository from Google Cloud Source to GitHub?

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

3. From the cloned repository directory, push the repository to GitHub:

git push --mirror https://github.com/octocat/my-repo.git
See also
What is the Google Knowledge Graph?
Is it the world's largest knowledge base?
How to scp?
Using the scp command.
Loading npm dependencies from multiple registries
How to add npm dependencies from multiple package registries?
Creating a JavaScript library with webpack
How to bundle a JavaScript library with webpack?
Publishing an npm package to GitHub Packages
How to publish an npm package to GitHub Packages?
Authenticating to an npm registry
How to authenticate to an npm registry?