From a6b682c01405f4d51ce91760a439e7e6e867e607 Mon Sep 17 00:00:00 2001 From: laurentheirendt <laurent.heirendt@uni.lu> Date: Wed, 17 Mar 2021 13:39:24 +0100 Subject: [PATCH] merged slides for github and forks --- 2021/2021-03-18_basicGitTraining/slides/forks.md | 12 ++++++++---- .../slides/github_gitlab.md | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/2021/2021-03-18_basicGitTraining/slides/forks.md b/2021/2021-03-18_basicGitTraining/slides/forks.md index 30ae7dab..f9966946 100644 --- a/2021/2021-03-18_basicGitTraining/slides/forks.md +++ b/2021/2021-03-18_basicGitTraining/slides/forks.md @@ -38,7 +38,7 @@ Browse to the original repository and click on the button `Fork`: # Time to practice! Fork the practice repository: <br><br> -https://git-r3lab.uni.lu/R3/school/git/basic-practice-pages<br><br> +https://github.com/LCSB-BioCore/basic-git-practice<br><br> Then, clone your fork to your home directory! @@ -46,15 +46,20 @@ Then, clone your fork to your home directory! <img src="slides/img/icon-live-demo.png" height="100px"> ```bash -$ git clone ssh://git@git-r3lab-server.uni.lu:8022/<yourName>/basic-practice-pages.git +$ $ git clone git@github.com:<yourName>/basic-git-practice.git ``` Change to the practice directory with: ```bash -$ cd basic-practice-pages +$ cd basic-git-practice ``` +<img src="slides/img/icon-live-demo.png" height="100px"> +If you did not configure your SSH key, clone using HTTPS: +```bash +$ git clone https://github.com/<yourName>/basic-git-practice.git +``` # A note on shortcuts ... @@ -79,4 +84,3 @@ As you have your own fork, it will not automatically be updated once the origina <br> **More on that later!** - diff --git a/2021/2021-03-18_basicGitTraining/slides/github_gitlab.md b/2021/2021-03-18_basicGitTraining/slides/github_gitlab.md index 84930c39..3f7ee4e1 100644 --- a/2021/2021-03-18_basicGitTraining/slides/github_gitlab.md +++ b/2021/2021-03-18_basicGitTraining/slides/github_gitlab.md @@ -15,4 +15,4 @@ Positive point: GitHub and GitLab are (almost) the same. - **GitHub**: [https://github.com](https://github.com) - Public GitLab: [https://gitlab.com](https://gitlab.com) -- LCSB specific: [https://git-r3lab.uni.lu](https://git-r3lab.uni.lu) \ No newline at end of file +- LCSB specific: [https://git-r3lab.uni.lu](https://git-r3lab.uni.lu) -- GitLab