diff options
| author | polo-pc-greta <ordipolo@gmx.fr> | 2025-02-07 11:32:49 +0100 |
|---|---|---|
| committer | polo-pc-greta <ordipolo@gmx.fr> | 2025-02-07 11:32:49 +0100 |
| commit | d74359ac2e66627e4b146b911650df28c51a732e (patch) | |
| tree | de6e31287b81aa9cb1ba24ba3d08c2b8f1207760 | |
| parent | dd6bdad360e2ff848b932b988685716bf05aeb1a (diff) | |
| download | tp-git-d74359ac2e66627e4b146b911650df28c51a732e.tar.gz tp-git-d74359ac2e66627e4b146b911650df28c51a732e.tar.bz2 tp-git-d74359ac2e66627e4b146b911650df28c51a732e.zip | |
renommage
| -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 |
