diff --git a/list.json b/list.json index 0d97833749be2502e8cc54384879dfc300ff8fb0..ce2af0aa741b4cbcbbbc163d9805446e3d738856 100644 --- a/list.json +++ b/list.json @@ -8,43 +8,36 @@ { "filename": "part-2-git-intro.md", "attr": { - "data-background": "../img/gray-linen-background-texture_58348.jpg" } }, { "filename": "part-3-installation.md", "attr": { - "data-background": "../img/gray-linen-background-texture_58348.jpg" } }, { "filename": "part-4-first-repo.md", "attr": { - "data-background": "../img/gray-linen-background-texture_58348.jpg" } }, { "filename": "part-5-branches.md", "attr": { - "data-background": "../img/gray-linen-background-texture_58348.jpg" } }, { "filename": "part-6-remote.md", "attr": { - "data-background": "../img/gray-linen-background-texture_58348.jpg" } }, { "filename": "part-7-github-pages.md", "attr": { - "data-background": "../img/gray-linen-background-texture_58348.jpg" } }, { "filename": "part-8-thanks.md", "attr": { - "data-background": "../img/gray-linen-background-texture_58348.jpg" } } ] diff --git a/part-2-git-intro.md b/part-2-git-intro.md index c73cbb7bb423ccbd2abcc7afc6faa691be61f7d8..1913f7d3f6a8fd1c071eeaf9796f7f441bd09c0d 100644 --- a/part-2-git-intro.md +++ b/part-2-git-intro.md @@ -1,10 +1,17 @@ # Overview +0. The Linux Terminal 1. What is `git`? Why do I need it? (5 min) 2. GitHub and GitLab (5min) * Practical session (5 min) + - GitLab interface + - GitHub interface 3. The 5 essential commands (10 min) * Practical session (15 min) + - init + - clone + - add + - 4. Branches (10 min) * Practical session (10 min) 5. Forks (10 min) @@ -12,13 +19,54 @@ 6. Evaluation (10 min) +## The Linux Terminal + +Starting the terminal presents itself with a line where you can enter a command: +```sh +michael@myComputer> +``` +Often written, for covenience, as: +```sh +$ +``` +When you open your terminal (git shell) and unless otherwise configured, you are located +in your home directory, denoted as `~/`. + + +## Essential Linux commands + +List the contents of a directory +```sh +$ ls +``` + +Change the directory to a specific folder +```sh +$ cd myDirectory +``` + +Change the directory 1 level and 2 levels up +```sh +$ cd .. +$ cd ../.. +``` +Create a directory +```sh +$ mkdir myNewDirectory +``` + + ## What is `git`? Why do I need it? + +  Designed and implemented in 2005 by **Linus Torvalds** - +`git` is a version tracking system, essentially for code. +Collaborative platform for code development + ## The 5 essential commands diff --git a/part-4-first-repo.md b/part-4-first-repo.md index b87b25f026044fd04aec047cb0f8479de28ce363..e9862a1942742f62e087d900f004de8306d4fea1 100644 --- a/part-4-first-repo.md +++ b/part-4-first-repo.md @@ -1,4 +1,4 @@ -# The 5 commands +## The 5 commands ## Mon premier dépôt diff --git a/part-5-branches.md b/part-5-branches.md index 1ab12bad2651d8224def5d143c97db833d3cec32..ab002d29218931f63734f9807307c79fd29ffcab 100644 --- a/part-5-branches.md +++ b/part-5-branches.md @@ -1,4 +1,4 @@ -# Branches +## Branches Expérimentez en toute sécurité diff --git a/part-6-remote.md b/part-6-remote.md index a42416b291c4197f39ca66123ba22e5e571a57c1..0f6d346946f4c53858c0c3bc21af5c8d985d9822 100644 --- a/part-6-remote.md +++ b/part-6-remote.md @@ -1,4 +1,4 @@ -# Remote +## Remote Parlons de dépôt *distant* @@ -49,4 +49,4 @@ Ou comment utiliser GitHub pour vos revues de code ## Fork -Contribuez à l'open source \ No newline at end of file +Contribuez à l'open source diff --git a/part-7-github-pages.md b/part-7-github-pages.md index 5ec61b5a65c4b0e211dac0dbf957b4563f6e19d3..76259f13d054d285a317478cd3d84561eb01e629 100644 --- a/part-7-github-pages.md +++ b/part-7-github-pages.md @@ -1,10 +1,3 @@ -# GitHub Pages - -Ou comment héberger **gratuitement** votre portfolio - -Même s'il génère 1M de pages vues! - - ## Dépôt magique `<user>.github.io` @@ -31,4 +24,4 @@ Un simple fichier `index.html` suffit :) Utilisez un fichier `CNAME` à la racine du dépôt. [Détails](https://help.github.com/articles/setting-up-a-custom-domain-with-pages) -Exemple: [ssaunier.github.io/CNAME](https://github.com/ssaunier/ssaunier.github.io/blob/master/CNAME) \ No newline at end of file +Exemple: [ssaunier.github.io/CNAME](https://github.com/ssaunier/ssaunier.github.io/blob/master/CNAME)