Does anyone know the Git command line to add user/group into bitbucket repository?
Thank you
Hi Herman,
Git does not have a command for adding users/groups to a repository. Git does not handle permissions, that is where Bitbucket comes in.
To add the users/groups to the repository in Bitbucket you can use the REST API, take a look at /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/permissions/groups and /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/permissions/users These ones are for Bitbucket Server, you can find the REST API for Bitbucket Cloud here.
Thanks.
It looks like you're new here. Sign in or register to get started.