Skip to content

Commit

Permalink
beginning of git/github slides to prez
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBruant committed Feb 19, 2016
1 parent b5984d7 commit aea6617
Show file tree
Hide file tree
Showing 8 changed files with 73 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
`npm install prez -g`
`prez --theme black -w`

### Wishes

* Per slide directory data- attributes
* support for hljs
* Adding custom CSS ?



## Licence

All the content is licenced CC-BY Ants
Expand Down
7 changes: 7 additions & 0 deletions slides/03-git-github/01-git.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$background:#4d7e65$
$transition:slide$
$background-transition:zoom$

# Git

### organiser son code et son travail
7 changes: 7 additions & 0 deletions slides/03-git-github/02-git-github.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$background:#4d7e65$

# Git / GitHub

**Git** : gestionnaire de version (sur votre ordinateur)

**GitHub** : plateforme de collaboration (sur le cloud)
5 changes: 5 additions & 0 deletions slides/03-git-github/03-git-avantages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$background:#4d7e65$

Git évite de dupliquer du code pour le versioner, permet de revenir en arrière et surtout permet de toujours savoir où on en est.

Outils indispensable pour organiser son travail sur un gros projet.
5 changes: 5 additions & 0 deletions slides/03-git-github/04-github-avantages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$background:#4d7e65$

GitHub permet de s'échanger du code, de travailler à plusieurs sur un même projet et de communiquer sur les problèmes.

GitHub permet en outre de déployer des services et de recruter.
6 changes: 6 additions & 0 deletions slides/03-git-github/05-environement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
$background:#4d7e65$

## Environnement de travail

* **Editeur** : [Atom](https://atom.io/), [Sublime](http://www.sublimetext.com/3)
* **Console** : iTerm2 (Mac), [ConEmu](https://conemu.github.io/)
19 changes: 19 additions & 0 deletions slides/03-git-github/06-configurer-git.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
$background:#4d7e65$

## Configurer git

<style>pre{background: #3f3f3f;}</style>

````bash
# dans le cas où vous êtes derrière un proxy
git config --global http.proxy http://proxyuser:proxypwd@proxy.server.com:8080
git config --global https.proxy https://proxyuser:proxypwd@proxy.server.com:8080

# si vous ne l'avez jamais fait auparavant
git config --global user.name "Your Name"
git config --global user.email "your_email@whatever.com"

# pour windows
git config --global core.autocrlf true
git config --global core.safecrlf true
````
16 changes: 16 additions & 0 deletions slides/03-git-github/07-init.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
$background:#4d7e65$

## Init

<style>pre{background: #3f3f3f;}</style>

````bash
# créer un dossier
mkdir testgit
# s'y déplacer
cd testgit
# initialison git
git init
````

ce qui crée un dossier `.git` contenant tout ce qui concerne git. C'est léger.

0 comments on commit aea6617

Please sign in to comment.