T
T
Torento203452021-05-30 12:16:08
GitLab
Torento20345, 2021-05-30 12:16:08

Where can I find the username and password for a private project?

Tell me, I created an empty private project.
The git clone command asks for a username and password.
Where can you watch it?
I understand this is the login and password from the account on the git lab?
But there is only mail, but this mail does not fit with the password that I enter to enter.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Romses Panagiotis, 2021-05-30
@Torento20345

You need to replace the protocol `https://` with `git://`
git remote -vshould show the type

origin	[email protected]:my_org/my_repo.git (fetch)
origin	[email protected]:my_org/my_repo.git (push)

After replacing, check like this:
ssh -T [email protected]
git fetch

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question