add Verified current stable Not installed? Version Control

Add / Add User To Project

Add User To Project

Adds a new user to the current project repository.

$
Terminal
add user <username>;

When To Use

When integrating a new collaborator in a high-visibility project.

Pro Tip

Restrict the new user's permissions by adjusting settings immediately after adding them to avoid misuse.

Command Builder

Tune the command before you copy it

Back to syntax
$
Generated Command
add user <username>;

Anatomy of Output

Understanding the result

User '{{username}}' added successfully to the project. Success Message

Confirms successful addition of the user.

Permissions for '{{username}}' set to default. Permissions Status

Default permission level has been applied.

Error: User already exists. Error Message

Indicates the username is already in the system.

Troubleshooting

Common pitfalls

ERROR: User '{{username}}' already exists.

Solution: Use a different username or remove the existing user.

Permission denied: unable to add user.

Solution: Ensure you have admin rights to modify project users.

Invalid username format, must contain alphanumeric characters.

Solution: Check the username for validity; only alphanumeric characters are allowed.

Command Breakdown

What each part is doing

add
Base Command
The executable that performs this operation. Here it runs Add before the shell applies any redirect operators.
<username>
username
The user value supplied to this command.

Alternative Approaches

Comparable commands in other tools

Alternative version control tools for the same job.