mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 14:55:51 +00:00
Add section on git clone
This commit is contained in:
parent
2235ce28a5
commit
7767ae07bb
4 changed files with 18 additions and 0 deletions
17
book/workflows/git-clone.md
Normal file
17
book/workflows/git-clone.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
(git-clone)=
|
||||
# Cloning a repository
|
||||
|
||||
Before we can start working on our Jupyter Book, we of course need to have the repository on our own system. This is done by *cloning* the repository, and here's how you do it with VS Code:
|
||||
|
||||
1. On GitLab, go to the repository of your book. Click on the blue button that says "Clone" ({numref}`gitlab-clone`), and copy the link under "Clone with SSH".
|
||||
|
||||
```{figure} ../images/gitlab-clone.png
|
||||
:name: gitlab-clone
|
||||
|
||||
The cloning menu.
|
||||
```
|
||||
|
||||
2. Open a new VS Code window. You should be greeted with a welcome page (see {numref})
|
||||
|
||||
```{figure} ../images/vscode-welcome.png
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue