From d74359ac2e66627e4b146b911650df28c51a732e Mon Sep 17 00:00:00 2001 From: polo-pc-greta Date: Fri, 7 Feb 2025 11:32:49 +0100 Subject: renommage --- README.md | 1 + TP GIT 1 installation.txt | 5 +++++ readme.md | 1 - 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 README.md delete mode 100644 readme.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..2938773 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +"bonjour" 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" annuler un "add" et retirer le fichier du projet git rm -f --cached "fichier" +je me suis trompé mon fichier README.md s'appelle en fait readme.md +git rm -f --cached readme.md +git add README.md +git status montre que le fichier a bien été renommé + commit git commit -m "ajout du fichier README.md" git status montre maintenant que readme.md a disparu l'espace de staging est vide diff --git a/readme.md b/readme.md deleted file mode 100644 index 2938773..0000000 --- a/readme.md +++ /dev/null @@ -1 +0,0 @@ -"bonjour" -- cgit v1.2.3