Google Cloud Source Repositories are fully-featured Git repositories hosted on Google Cloud Platform
Cloud Source Repositories are fully-featured Git repositories hosted on Google Cloud Platform. Beta release of Cloud Source Repositories is free and can be used to store up to 500 MB of source files.
Each project you create in the Google Developers Console has an associated Cloud Source Repository. You can use this repository for collaborative development of any application or service, including those that run on Google App Engine and Google Compute Engine. If you are using the Google Cloud Debugger, you can use Cloud Source Repositories and related tools in the Developers Console to view debugging information alongside your code during application runtime.
Using Cloud Source Repositories is easy if you are familiar with Git. For example, you can add a Cloud Source Repository to a local Git repository as a remote, or you can connect it to a hosted repository on GitHub or Bitbucket. From a local repository, you can use the standard set of Git commands to interact with the repository in the Cloud, including push, pull, clone and log
. Connected repositories on GitHub or Bitbucket are synchronized with the Cloud Source Repository automatically and vice-versa.
Cloud Source Repositories also provides a source editor that you can use to browse, view, edit and commit changes to repository files from within the Developers Console.
The source editor supports:
- Edits to files in any branch of your repository
- Grouping of changes to multiple files in a single commit
- Notification of changes to the branch being edited
- Assisted conflict resolution at commit time
You can use the source editor to work with files stored in any Cloud Source Repository, including repositories that are connected to hosted repositories on GitHub or Bitbucket.
Quickstart:
For an end-to-end tutorial that shows how to use a Cloud Source Repository, see Cloud Source Repository Quick Start.