Commit bec9edd1 authored by Laurent Heirendt's avatar Laurent Heirendt
Browse files

New slides

parent fa814cb6
......@@ -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"
}
}
]
# 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?
![](img/git_definition.png)
![](img/linus.jpg)
Designed and implemented in 2005 by **Linus Torvalds**
![](img/git_definition.png)
`git` is a version tracking system, essentially for code.
Collaborative platform for code development
## The 5 essential commands
......
# The 5 commands
## The 5 commands
## Mon premier dépôt
......
# Branches
## Branches
Expérimentez en toute sécurité
......
# 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
# 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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment