diff --git a/slides/img/installation.png b/slides/img/installation.png new file mode 100644 index 0000000000000000000000000000000000000000..dd278a70c5e8237d32c047759e47fb0812db9db0 Binary files /dev/null and b/slides/img/installation.png differ diff --git a/slides/index.md b/slides/index.md index a80758a691c067be6e29ad8c8525dc8d633fe67a..539414da24261f4211cfc315ec1db4b5100e500a 100644 --- a/slides/index.md +++ b/slides/index.md @@ -5,10 +5,11 @@ Absolute Beginners<br> <img src="img/logoLCSB.png" class="as-is" height="100px"> <br><br><br><br> -<br> +<br><br> -April 12th, 2017 +January 24th, 2019 -Sylvain Arreckx & Laurent Heirendt +**Laurent Heirendt, Ph.D.**<br> +laurent.heirendt@uni.lu <br><br><br><br> diff --git a/slides/installation.md b/slides/installation.md index 315f3d29f757ed85c388d36f1d1c2af0e2896458..b355f40b5087ae44d042de0154d5dda5184b3db7 100644 --- a/slides/installation.md +++ b/slides/installation.md @@ -26,12 +26,12 @@ Follow instructions on *[git-for-windows.github.io](https://git-for-windows.gith **Linux (Ubuntu)** and **macOS** -Start the terminal (or any other shell) +Start the `Terminal` or `iTerm`. <br> **Windows** -Start `GUI Bash` or `MobaXTerm`. +Start `GUI Bash`. ## How to configure `git`? @@ -61,6 +61,22 @@ $ git config --list <br> This should list the configuration with `user.name` and `user.email`. +## How to set my SSH key? + +Check if you already have an SSH key: + +```bash +$ ls -al ~/.ssh +``` +If there is a file with an extension .pub, you already have an SSH key. + +If you don’t have yet an SSH key, you have to generate one: +```bash +$ ssh-keygen -t rsa +``` + +Then, add the SSH key to Github/Gitlab (see demo). + ## How do I `clone` a repository? diff --git a/slides/list.json b/slides/list.json index f4e8a89bfc1eeb1f98ebd2f99cb55c80e60bb842..7892c75cd3655e77103e32c32283bf588aba2dad 100644 --- a/slides/list.json +++ b/slides/list.json @@ -17,6 +17,12 @@ "data-background": "img/whiteBG.jpg" } }, + { + "filename": "the_editor.md", + "attr": { + "data-background": "img/whiteBG.jpg" + } + }, { "filename": "what_is_git.md", "attr": { @@ -24,19 +30,19 @@ } }, { - "filename": "installation.md", + "filename": "github_gitlab.md", "attr": { "data-background": "img/whiteBG.jpg" } }, { - "filename": "essential_commands.md", + "filename": "installation.md", "attr": { "data-background": "img/whiteBG.jpg" } }, { - "filename": "github_gitlab.md", + "filename": "essential_commands.md", "attr": { "data-background": "img/whiteBG.jpg" } diff --git a/slides/overview.md b/slides/overview.md index 9968e215c1d92df3c5899f2d6eda305674bdb12d..6d8a0f18ae637834b8c101f5366e387c5983dbc0 100644 --- a/slides/overview.md +++ b/slides/overview.md @@ -1,6 +1,7 @@ ## Overview -0. The Terminal +0. The terminal +1. The editor 1. What is `git`? What is the use of `git`? <!--(5 min)//--> 2. GitHub and GitLab <!--(5min)//--> 3. Installation of `git` diff --git a/slides/the_editor.md b/slides/the_editor.md new file mode 100644 index 0000000000000000000000000000000000000000..dfd036b9dbcbda4976954fbce9a56358e41e532a --- /dev/null +++ b/slides/the_editor.md @@ -0,0 +1,11 @@ +## The editor + +Recommended editors: + +- **Visual Studio Code** <br>(https://code.visualstudio.com) +- **Atom** <br>(https://atom.io) + + +## Visual Studio Code + +<img src="https://code.visualstudio.com/assets/docs/nodejs/extensions/document_this.gif" alt="visualStudioCode"/> \ No newline at end of file diff --git a/slides/the_terminal.md b/slides/the_terminal.md index 30844f9443182e47adcbcfa2a5c41a9cd74c9c76..2b9d37045e0c9a47252607a601cf57cf61830ed0 100644 --- a/slides/the_terminal.md +++ b/slides/the_terminal.md @@ -1,4 +1,21 @@ -## The Terminal (shell) +## The terminal (shell) + +<div class="fragment"> +<br> +**UNIX users (macOS & Linux):** + +Start the terminal from your `/Applications` directoy. + +*Pro Tip:* Download iTerm2: <br>`https://www.iterm2.com` + +<br> +**Windows users:** + +Install Git Bash: <br>`https://git-scm.com/download/win` + + + +## First steps in the terminal Starting the terminal presents itself with a line where you can enter a command ```bash diff --git a/slides/what_is_git.md b/slides/what_is_git.md index 8488d139447b8e405b22b7d15c47f8c467a98bd2..a0489ee7238b4a301b3f66e52b8b8b153056509c 100644 --- a/slides/what_is_git.md +++ b/slides/what_is_git.md @@ -16,7 +16,7 @@  <br><br> ``` -I'm an egotistical bastard, and I name all my projects after myself. +I'm an egotistical bastard, and I name all my projects after myself. First Linux, now git. ``` Linus Torvald (2007-06-14)