1.21 gigawatts
1.21 gigawatts

Reputation: 17746

How to connect to a repository on Gitlab?

I've read through the documentation and I can't find a way to connect to a repository on Gitlab to download it or commit my project to it.

On Github there are links to the repository and you can use the desktop client to connect. On Gitlab I don't see anything like that.

Here's what I found from Gitlab:

https://docs.gitlab.com/ee/user/ssh.html

It talks about connecting via a terminal and SSH.

I've tried this and it fails to connect:

ssh -T [email protected]/groups/myprojects/myproject/

ssh: Could not resolve hostname gitlab.com/groups/myprojects/myproject/: nodename nor servname provided, or not known

I'd rather not use the command line if possible. I've looked at all the gitlab documentation and maybe it's there but I can't find it. I just want to clone a repository and commit to it.

UPDATE:
I've found this page, https://docs.gitlab.com/ee/tutorials/make_your_first_git_commit.html, that steps through some of this. I'll keep this page updated if it covers this.

Upvotes: 1

Views: 6624

Answers (1)

VonC
VonC

Reputation: 1323793

You can use the same GitHub Desktop for GitLab repositories, as long as:

An ssh command would not work with a repository SSH URL, but GitHub Desktop would know how to clone/pull/push said repository with that same URL.

Upvotes: 3

Related Questions