Parcourir la source

table des matières

Julien Dehos il y a 8 ans
Parent
commit
15e4528e32
3 fichiers modifiés avec 38 ajouts et 16 suppressions
  1. 1 1
      Makefile
  2. 35 15
      index.md
  3. 2 0
      style.html

+ 1 - 1
Makefile

@@ -3,7 +3,7 @@ HTML_FILES = index.html
 all: $(HTML_FILES)
 
 %.html: %.md
-	pandoc -s $< -H style.html -o $@
+	pandoc -s --toc -H style.html -o $@ $<
 
 #publish:
 #	scp index.html yangra.univ-littoral.fr:public-html/enseignements/tutoriel_git/

+ 35 - 15
index.md

@@ -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 : ![](images/dessin.svg)
 
 * * * * *
 
-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)
 
 * * * * *
 

+ 2 - 0
style.html

@@ -2,5 +2,7 @@
       table          { margin: auto 0; }
       table, th, td  { border-collapse: collapse; border: solid 1px black; padding: 3px; }
       caption        { caption-side: bottom; }
+      body { background-color: white; } 
+      code { background-color: lightyellow; } 
   </style>