Parcourir la source

relecture branches

Julien Dehos il y a 8 ans
Parent
commit
255ea46229
3 fichiers modifiés avec 52 ajouts et 4 suppressions
  1. 4 4
      branches.md
  2. BIN
      branches_16.png
  3. 48 0
      depot_local_checkout_03b.svg

+ 4 - 4
branches.md

@@ -183,16 +183,16 @@ Quelques conseils de méthode de travail :
 
 ## Exercice
 
-- Clonez un dépôt distant dans deux dépôts locaux.
+- Clonez un dépôt distant.
 - Créez une nouvelle branche "b1", faites quelques commits dans b1 puis
   fusionnez-les dans le master.
-- Envoyez la branche b1 sur le serveur et vérifiez que vous la récupérez bien
-  dans le second dépôt local.
+- Envoyez la branche b1 sur le serveur et vérifiez que vous la voyez sur la
+  page web du serveur.
 - Créez une branche "b2" à partir du commit précédant le master courant, faites
   quelques commits dans b2 puis fusionnez-les dans le master.
 - Fusionnez le master dans b1 et vérifiez le graphe des commits avec le client
   git console et avec un client graphique.
-- Envoyez la branche b2 sur le serveur puis supprimez-la sur le dépôt local et
+- Envoyez la branche b2 sur le serveur puis supprimez-la sur le dépôt local puis
   sur le dépôt distant.
 
 * * * * *

BIN
branches_16.png


+ 48 - 0
depot_local_checkout_03b.svg

@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" width="600" height="250" >
+
+<g transform="translate(0,80)">
+
+<circle cx="50" cy="50" r="30" stroke="black" stroke-width="2" fill="lightgreen"/>
+<text x="30" y="55" font-size="18"> 9ac... </text>
+
+<circle cx="150" cy="50" r="30" stroke="black" stroke-width="2" fill="lightgreen"/>
+<text x="130" y="55" font-size="18"> 3ca... </text>
+
+<circle cx="250" cy="50" r="30" stroke="black" stroke-width="2" fill="lightgreen"/>
+<text x="230" y="55" font-size="18"> a16... </text>
+
+<circle cx="350" cy="50" r="30" stroke="black" stroke-width="2" fill="lightgreen"/>
+<text x="330" y="55" font-size="18"> 13a... </text>
+
+<circle cx="450" cy="50" r="30" stroke="black" stroke-width="2" fill="lightgreen"/>
+<text x="430" y="55" font-size="18"> 055... </text>
+
+<defs>
+<marker id='head' orient="auto" markerWidth='4' markerHeight='8' refX='0.2' refY='3'>
+<path d='M0,0 V6 L3,3 Z' />
+</marker>
+</defs>
+
+<path marker-end='url(#head)' stroke-width='2' stroke='black' d='M80,50 L110,50' />
+<path marker-end='url(#head)' stroke-width='2' stroke='black' d='M180,50 L210,50' />
+<path marker-end='url(#head)' stroke-width='2' stroke='black' d='M280,50 L310,50' />
+<path marker-end='url(#head)' stroke-width='2' stroke='black' d='M380,50 L410,50' />
+
+<rect x="210" y="-70" width="80" height="40" fill="khaki" stroke-width="2" stroke="black" />
+<text x="225" y="-45" font-size="18"> HEAD </text>
+<path marker-end='url(#head)' stroke-width='2' stroke='black' d='M250,-30 L250,10' />
+
+<rect x="200" y="120" width="100" height="40" fill="khaki" stroke-width="2" stroke="black" />
+<text x="210" y="145" font-size="18"> version1 </text>
+<path marker-end='url(#head)' stroke-width='2' stroke='black' d='M250,120 L250,90' />
+
+<rect x="410" y="120" width="80" height="40" fill="orange" stroke-width="2" stroke="black" />
+<text x="420" y="145" font-size="18"> master </text>
+<path marker-end='url(#head)' stroke-width='2' stroke='black' d='M450,120 L450,90' />
+
+</g>
+
+</svg>
+
+