MEGA Hub
Docs/Get started

Xet#

Xet provides the large-artifact storage experience for MEGA Hub repositories. Use it through the standard repository, Git, and MEGA CLI workflows when you publish or download large model files, dataset archives, and other binary release assets.

Xet is for versioned repository content. Storage Buckets remain a separate Hub feature for mutable checkpoints, logs, and working files that are synchronized in place.

Start with the normal repository workflow#

Clone, commit, and push a repository as usual, or use the MEGA CLI for a large release tree. You do not need to configure a storage service or expose storage credentials in your project.

BASH
mega upload-large-folder OWNER/REPOSITORY ./release --revision mainmega snapshot OWNER/REPOSITORY --revision v1.0 --local-dir ./release

Use a tag or commit for a production release so readers can reproduce the exact artifact set. See Use Xet Storage for the recommended workflows.

Choose Xet or a Bucket#

Need Use
Reviewable history, branches, tags, and a repository card A Hub repository with Xet-backed large artifacts
Mutable files, checkpoints, logs, or repeated synchronization A Storage Bucket

Read Xet Storage Overview, Git LFS Compatibility, and Xet Security before moving a large existing workflow.