Bonjour,

J'essaie de cloner une branche mais j'obtiens le message d'erreur : "fatal: repository 'P3C2-Begin' does not exist"

Le projet Git est : https://github.com/amandinelemoult2109/Vue-fr
La branche est : https://github.com/amandinelemoult21...ree/P3C2-Begin

Sur mon poste, j'ai fait un
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
git init
git clone https://github.com/amandinelemoult2109/Vue-fr
git add test1.jpg
git commit -m "test1"
git branch P3C2-Begin
git checkout P3C2-Begin
git clone --branch P3C2-Begin https://github.com/amandinelemoult2109/Vue-fr/tree/P3C2-Begin
Et j'obtiens le message :
Cloning into 'P3C2-Begin'...
fatal: repository 'https://github.com/amandinelemoult2109/Vue-fr/tree/P3C2-Begin/' not found
Si je fais (en sachant que cela ne pouvait pas marcher) :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
git clone --branch P3C2-Begin https://github.com/amandinelemoult2109/Vue-fr
J'obtiens :
fatal: destination path 'Vue-fr' already exists and is not an empty directory
Comment clôner cette branche ?