E
E
Eugene2018-09-12 05:38:03
git
Eugene, 2018-09-12 05:38:03

How to connect a GitLab repository on Windows?

Colleagues,
help to understand. On Linux, I calmly connect git to gitlabe with the command:

git remote add origin [email protected]: ..

Git on Windows does not want to understand such a command. Asks to add additional keys. What are the keys?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Kairat Ubukulov, 2018-09-12
@ubukulov

Try this.
git remote add origin https://github.com/max/project.git

V
Vladislav Lyskov, 2018-09-12
@Vlatqa

ssh keys that you have to generate, let's say with puttygen, and add them to the gitlab settings

O
OnYourLips, 2018-09-12
@OnYourLips

ssh keys.
Authorization can occur both via SSH and HTTPS.
Use just HTTPS links, login and token (or password) can be added to the .netrc file so as not to constantly register.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question