aboutsummaryrefslogtreecommitdiff
path: root/TP GIT 1 installation.txt
diff options
context:
space:
mode:
Diffstat (limited to 'TP GIT 1 installation.txt')
-rw-r--r--TP GIT 1 installation.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/TP GIT 1 installation.txt b/TP GIT 1 installation.txt
index c61d75b..7d40d2b 100644
--- a/TP GIT 1 installation.txt
+++ b/TP GIT 1 installation.txt
@@ -30,6 +30,11 @@ git rm --cached "fichier"
30annuler un "add" et retirer le fichier du projet 30annuler un "add" et retirer le fichier du projet
31git rm -f --cached "fichier" 31git rm -f --cached "fichier"
32 32
33je me suis trompé mon fichier README.md s'appelle en fait readme.md
34git rm -f --cached readme.md
35git add README.md
36git status montre que le fichier a bien été renommé
37
33commit 38commit
34git commit -m "ajout du fichier README.md" 39git commit -m "ajout du fichier README.md"
35git status montre maintenant que readme.md a disparu l'espace de staging est vide 40git status montre maintenant que readme.md a disparu l'espace de staging est vide