Unofficial community documentation for Google Copybara - the code transformation and synchronization tool.
This is not official documentation. It is a community-maintained resource created to help users understand and use Copybara. For official information, please refer to:
Copybara is Google's tool for transforming and moving code between repositories. This documentation covers:
- Getting Started - Installation, quick start, core concepts
- Workflows - SQUASH, ITERATIVE, CHANGE_REQUEST modes
- Origins & Destinations - Git, GitHub, Gerrit integrations
- Transformations - Moving files, replacing text, filtering content
- Use Cases - Open sourcing, importing, mirroring, monorepo extraction
- CI/CD - GitHub Actions, authentication, automation patterns
- Reference - CLI, core module, git module, metadata
# Install dependencies
bun install
# Start dev server
bun dev
# Build for production
bun build
# Preview production build
bun previewThis documentation is maintained at github.com/albertocavalcante/copybara-docs.
Contributions are welcome! Please open an issue or pull request.
- Copybara is developed by Google and licensed under the Apache License 2.0.
- This documentation site is built with Astro Starlight.
- Starlark syntax highlighting uses the grammar from bazelbuild/vscode-bazel.
This documentation is licensed under MIT.
Copybara itself is licensed under Apache License 2.0 by Google.