The wit collaborator command lets you manage who has access to your repository, their roles and permissions, and organize collaborators into teams.
Overview
Roles and Permissions
wit supports five role levels with different permissions:
Permission Matrix
Commands
list
List all collaborators in the repository.
Options
Examples
Example Output
add / invite
Invite a new collaborator to the repository.
Options
Examples
Example Output
remove
Remove a collaborator from the repository.
Examples
update
Update a collaborator’s role.
Examples
show
Show detailed information about a specific collaborator.
Example Output
accept
Accept an invitation to join a repository.
Examples
revoke
Revoke a pending invitation.
Examples
invitations
List all pending invitations.
Example Output
activity
Show recent collaborator activity.
Options
Example Output
stats
Show collaborator statistics.
Example Output
config
View or update collaborator settings.
Configuration Keys
Examples
Team Commands
Organize collaborators into teams for easier permission management.
team list
List all teams.
Example Output
team create
Create a new team.
Options
Examples
team delete
Delete a team.
Examples
Deleting a team does not remove the collaborators, only their team membership.
team add-member
Add a collaborator to a team.
Examples
team remove-member
Remove a collaborator from a team.
Examples
Workflow Examples
Setting Up a New Project
Onboarding a New Developer
Environment Variables
wit token - Manage personal access tokens
wit pr - Pull requests (requires collaborator access)
wit push - Push changes (requires write access)