From 685d5215f98bbc657d2b4278057dcaf1377cbb61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20H=C3=B6llring?= <kevin.hoellring@fau.de> Date: Tue, 5 Nov 2019 08:33:56 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 47aa71a..abbbdb9 100644 --- a/README.md +++ b/README.md @@ -44,6 +44,10 @@ Then with a terminal in the directory of your choice, run the command ```git clone <repository_https_url>``` +Or if you have already configured an ssh key (see your search engine of choice for how to generate one of those) + +```git clone <repository_ssh_url>``` + Where `<repository_https_url>` can be obtained by clicking on the blue "clone" button on your repository page. There will be one link starting with "https://" in the modal window popping up. Copy that one and use it instead of `<repository_https_url>` to trigger the copying process. @@ -60,6 +64,10 @@ With a terminal open in the directory of the cloned repository, run ```git remote add vorlage https://gitlab.cs.fau.de/cp1_ws19/cpp_introduction``` +Or for the ssh version: + +```git remote add vorlage git@gitlab.cs.fau.de:cp1_ws19/cpp_introduction.git``` + This will register this repository as a source for files with the name "vorlage". Your own repository on gitlab should be registered as "origin". To check that this is indeed the case, you can run -- GitLab