Repositories overview
A Comwit Cloud repository is a Git repository owned by one project. It is hosted
at git.cloud.comwit.io, supports Git LFS, and has a clone URL shaped like
https://git.cloud.comwit.io/<projectId>/<repositoryId>.git. Its display name
does not change that URL.
Two endpoints, two jobs
Section titled “Two endpoints, two jobs”| Host | Purpose |
|---|---|
https://api.cloud.comwit.io | Create, list, inspect, and delete repositories through the Cloud API or console. |
https://git.cloud.comwit.io | Clone, fetch, and push Git content and LFS objects. |
Create and delete repositories through Cloud. Git pushes update the contents of an existing repository; they do not create a Cloud repository.
Access
Section titled “Access”A human cwt_ token or project cwp_ token needs repository:read to list or
inspect repositories; repository:read also grants Git clone, fetch, and pull.
repository:write allows creation, deletion, and Git push, and Git write
permission includes read. Human owners, admins, and members can write;
viewers can read. Project tokens work only within their owning project and
need their repository scopes selected explicitly.
comwit login gives Git a credential helper for the Git host. For automation,
provide a scoped token as the HTTPS Basic password. Keep tokens out of clone
URLs. See Create and connect for the full
flow and Authentication for token details.
Next steps
Section titled “Next steps”- Create and connect — create a repository, clone it, and push a commit.
- Manage repositories — inspect status, list, and delete.