I am trying to connect my GitLab repository with IntelliJ-IDEA, and it still cant connect to the repo. I have tried the next things:
I did a lot of things from this links:
And many other google searchs
I dont know what else to do nothing is working.
UPDATE: When i try to Clone the repository and press the Test Button it loads and loads and nothing happen after a while it give me this error: repository test has failed
In order to communicate over SSH (Secure Shell), you must have an SSH key pair. Each SSH key pair has a public and a private key.
Please make sure you have the correct access rights and the repository exists. Using the built-in terminal of IntelliJ, executing git -c core. quotepath=false fetch origin --progress --prune , it works just as it should.
Try to install plugin: Settings
-> Plugins
-> Browse repositories
-> type GitLab Projects Plugin
minimum version 1.3.0
and go to Settings
-> Other Settings
-> GitLab Settings
Fill GitLab Server Url
with https://gitlab.com/
(ensure slash at the end) and
GitLab API Key
with string (private token which is shown as the first thing on: https://gitlab.com/profile/account)
And then the test in IntelliJ IDEA will pass and you will be able to use ssh or https for each repository...
UPDATE: GitLab UI changed, so private tokens are created at https://gitlab.com/profile/personal_access_tokens
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With