J
J
Jussss922021-10-19 15:25:39
git
Jussss92, 2021-10-19 15:25:39

How to initialize an existing project?

Hello.
Tell me, I have a project. It's in the azure repository.
I uploaded the project to mac locally.
I need to initialize a git repository.
did git init <repository link>
Asks for password [email protected] But the account password from microsoft azure is not suitable. I don't understand what I'm doing wrong

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-10-19
@Jussss92

If Azure is Azure devops, then the password there is PAT. But it's better to use SSH keys.
It must be generated locally via ssh-keygen -t rsa(Azure devops only accepts rsa so far) and upload the public key via the web interface.
To initialize a turnip, you create a turnip in the Azure devops interface, and then download via git clone.
Or, if the git repository already exists locally, then in Azure devops you create an empty repository, and upload data to it via git push, specifying your azure devops as origin (the link is indicated in the interface)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question