Académique Documents
Professionnel Documents
Culture Documents
Arnaud MERCIER
www.codeur-pro.fr arnaud.mercier.formation@gmail.com
Dépôt Git
Modification A Modification A
git add
git reset
2
Modification C Modification C
1
Etat des fichiers sous Git
Non suivi
fichier source
Inchangé
Indexé
Etat du dépôt
Suivi et Indexé
Suivi et modifié
Non suivi
hello.html (A+B)
(A)
git add hello.html (A)
hello.html (A+B)
hello.html
style.css
avant
<body>
<!-- TITRE -->
<div>
</div> <body>
</body> - <!-- TITRE -->
- <div>
git diff hello.html + <div id="top-banner">
+ Bienvenue dans cette formation GIT !
<body> </div>
<div id="top-banner"> </body>
Bienvenue dans cette formation GIT !
</div>
</body>
après