Skip to main content

Synopsis

Description

Grants <email> access to the named protected branch in the named project. Non-interactive - same operation as pressing g on a (no access) row in capy users, but scriptable for CI. The user must already be a member of the org. Granting access to a non-protected branch is a no-op; non-protected branches are visible to every member by default.

Example

Failure modes

All exits are non-zero on failure, suitable for CI.

See also

Last modified on May 20, 2026