S
S
Sergey Burduzha2020-08-26 14:45:22
git
Sergey Burduzha, 2020-08-26 14:45:22

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

3 answer(s)
S
Sergey Burduzha, 2020-08-26
@serii81

I solved the problem.
I just didn’t pay attention to the need to give write permissions, my partner had read-only permissions.
5f46607a6008f215224086.jpeg

E
Egor Zhivagin, 2020-08-26
@Krasnodar_etc

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

I
Ivan Shumov, 2020-08-26
@inoise

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 question

Ask a Question

731 491 924 answers to any question