|
@@ -1,37 +1,57 @@
|
|
|
-Tutoriel git
|
|
|
-============
|
|
|
+---
|
|
|
+title: "Tutoriel git"
|
|
|
+output:
|
|
|
+ toc: true
|
|
|
+---
|
|
|
|
|
|
* * * * *
|
|
|
|
|
|
-Introduction
|
|
|
--------
|
|
|
+## Introduction
|
|
|
+
|
|
|
+git + serveur scosi
|
|
|
+
|
|
|
+[http://git-scm.com](http://git-scm.com)
|
|
|
+
|
|
|
|
|
|
-- E-mail : 
|
|
|
|
|
|
* * * * *
|
|
|
|
|
|
-Installation et configuration
|
|
|
--------------
|
|
|
+## Installation et configuration
|
|
|
+
|
|
|
+### Linux
|
|
|
+
|
|
|
+```
|
|
|
+sudo apt-get install git
|
|
|
+```
|
|
|
+
|
|
|
+
|
|
|
+### Windows
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
* * * * *
|
|
|
|
|
|
-Dépôt local (journaliser son projet)
|
|
|
--------------
|
|
|
+## Dépôt local (journaliser son projet)
|
|
|
+
|
|
|
+init
|
|
|
+clone
|
|
|
+.git
|
|
|
+
|
|
|
+
|
|
|
+### Exercice
|
|
|
|
|
|
* * * * *
|
|
|
|
|
|
-Dépôt distant (sauvegarder son projet sur un serveur)
|
|
|
--------------
|
|
|
+## Dépôt distant (sauvegarder son projet sur un serveur)
|
|
|
|
|
|
* * * * *
|
|
|
|
|
|
-Branches (travailler en équipe)
|
|
|
--------------
|
|
|
+## Branches (travailler en équipe)
|
|
|
|
|
|
* * * * *
|
|
|
|
|
|
-Forks (collaborer avec d'autres projets)
|
|
|
--------------
|
|
|
+## Forks (collaborer avec d'autres projets)
|
|
|
|
|
|
* * * * *
|
|
|
|