diff options
| -rw-r--r-- | README.md (renamed from readme.md) | 0 | ||||
| -rw-r--r-- | TP GIT 1 installation.txt | 5 |
2 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" | |||
| 30 | annuler un "add" et retirer le fichier du projet | 30 | annuler un "add" et retirer le fichier du projet |
| 31 | git rm -f --cached "fichier" | 31 | git rm -f --cached "fichier" |
| 32 | 32 | ||
| 33 | je me suis trompé mon fichier README.md s'appelle en fait readme.md | ||
| 34 | git rm -f --cached readme.md | ||
| 35 | git add README.md | ||
| 36 | git status montre que le fichier a bien été renommé | ||
| 37 | |||
| 33 | commit | 38 | commit |
| 34 | git commit -m "ajout du fichier README.md" | 39 | git commit -m "ajout du fichier README.md" |
| 35 | git status montre maintenant que readme.md a disparu l'espace de staging est vide | 40 | git status montre maintenant que readme.md a disparu l'espace de staging est vide |
