Skip to content

Commit 58c54f5

Browse files
authored
Merge pull request #246 from nickaj/gitlab_docs
Add SSH keys part to Gitlab docs.
2 parents a4c8c97 + 35e1f02 commit 58c54f5

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/services/gitlab/quickstart.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,18 @@ Selecting "Blank Project" will take to you the project creation screen. You can
2020

2121
GitLab offers a variety of options for project, permission and access configurations. Please consult the [GitLab Documentation](https://docs.gitlab.com/ee/user/) for specifics.
2222

23-
## Clone repository
23+
## Clone repository via HTTPS
2424

25-
To clone a repository, click on the "Code" button to get the https-based url.
25+
To clone a repository via HTTPS, click on the "Code" button to get the https-based url.
2626

2727
![GitLab New Repo](../../images/access/gitlab-newrepo.png)
2828

2929
From the command line, you can clone this repository by adding your username and token into the URL between the `https://` and `@gitlab.eidf` parts of the url as shown. Your EIDF GitLab username can easily be found by clicking your profile image near the top left of any GitLab page. The username is the part below your name, without the `@` symbol.
3030

3131
![GitLab Clone CLI](../../images/access/gitlab-httpstoken.png)
3232

33-
## Limits
33+
## Clone repository via SSH
3434

35-
EIDF GitLab currently only supports working with repositories via https and tokens. We hope to expand the service to use SSH via SSH keys shortly.
35+
To clone a repository using git over SSH, click on the "Code" button to get the git+ssh URL. You will need to have added an SSH key to your account for this method to work.
36+
37+
For a more complete set of documentation relating to adding and using SSH keys with Gitlab, see the upstream [Gitlab Documentation](https://docs.gitlab.com/user/ssh/)

mkdocs.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ nav:
8282
- "Notebooks":
8383
- "Overview": services/jhub/index.md
8484
- "Quickstart": services/jhub/quickstart.md
85-
# - "GitLab":
86-
# - "Overview": services/gitlab/index.md
87-
# - "Quickstart": services/gitlab/quickstart.md
8885
- "Data Services":
8986
- "S3":
9087
- "Overview": services/s3/index.md
@@ -99,7 +96,8 @@ nav:
9996
# - "Quickstart": services/mft/quickstart.md
10097
# - "Using the MFT": services/mft/using-the-mft.md
10198
- "Code Collaboration":
102-
- "Gitlab service": services/gitlab/index.md
99+
- "Gitlab Overview": services/gitlab/index.md
100+
- "Gitlab Quickstart": services/gitlab/quickstart.md
103101
- "Safe Haven Services":
104102
- "Overview": safe-haven-services/overview.md
105103
- "Network Access Controls": safe-haven-services/network-access-controls.md

0 commit comments

Comments
 (0)