Answer the question
In order to leave comments, you need to log in
How to work together with a repository on bitbucket?
Good afternoon.
I created a project for myself on bitbucket a long time ago.
Now it's time for another developer to work on the project.
I have worked alone so far and have no experience of working in a team.
The repository is private.
I read the documentation and added the partner's email address in the repository settings.
He received an email and he agreed.
I checked and in fact in the terminal for git it uses the address from the repository.
He cloned the project, made changes, but he can't push because he doesn't have permissions.
What didn't I learn?
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
I solved the problem.
I just didn’t pay attention to the need to give write permissions, my partner had read-only permissions.
If he entered the address of the repository with ssh, he needs to set up the keys. Google "ssh key bitbacket"
Either he needs to go to http and enter the password every time he pushes
We did not take into account that access to the repository is only the beginning. We still need to establish some rules for collective work. You can read about gitflow or other practices to get started
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question