Skip to content
Snippets Groups Projects
Commit 711c7646 authored by Marina Popleteeva's avatar Marina Popleteeva
Browse files

Why Fork Clone slides

parent 05a9c6c8
No related branches found
No related tags found
2 merge requests!134[release] Regular merge of develop,!122git part 2
# Download your copy to your laptop - clone
Now you have your copy of the repository on server. YOu need to download it to your laptop.
In git words: you need you *clone your fork*:
- go to your projects (top left corner with LCSB logo)
- find **basic-practice-pages** project under your name and where you are the owner
- press *Clone* and then *Clone with SSH*. Part of the command will be in your clipboard now.<br>
<img height="230px" src="slides/img/clone.png">
- open terminal and navigate to your desired folder (use 'cd ..' and 'cd/')
- type ```git clone ssh-from-clipboad```<br>
<img height="230px" src="slides/img/clone-term.png">
\ No newline at end of file
# Create your copy on server - fork
As you already know it is not nice to work on original repository.
You need to create a copy of the repository for yourself.
In git words: you need to *fork* repository.
<br><br>
Go to [https://gitlab.lcsb.uni.lu/R3/school/git/basic-practice-pages](https://gitlab.lcsb.uni.lu/R3/school/git/basic-practice-pages) and fork (make it private and select your namespace) <br>
<img height="230px" src="slides/img/fork.png">
2022/2022-05-17_presentationTest/slides/img/clone-term.png

91.1 KiB

2022/2022-05-17_presentationTest/slides/img/clone.png

224 KiB

2022/2022-05-17_presentationTest/slides/img/fork.png

166 KiB

[
{ "filename": "index.md" },
{ "filename": "overview.md" },
{ "filename": "why.md" },
{ "filename": "fork.md" },
{ "filename": "clone.md" },
{ "filename": "ssh.md" },
{ "filename": "test.md" },
{ "filename": "thanks.md" }
]
SSH key
\ No newline at end of file
# Why we are here today
You already know how to work with repository online via Web IDE (Trylogyof git -Part I).
Now imagine you have 11 hours flight starts at 8 am. You won't be sleeping and cannot work as there will be no Internet.
What to do?
Prepare your laptop to work offline.
In this course we will learn how to contribute to a common project working on you laptop via Visual Studio Code (VS Code).<br><br>
We chose VS Code because
- sdkjhg
- sef
- sd
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment