Exercice : Défi : Veille
Question
Reprenez votre dépôt et executez les commandes suivantes. Que font-elles ? Fusionnez les deux branches
1
git checkout alice2
touch alicefile.txt3
git add alicefile.txt4
git commit -m "Create file for alice"
5
git checkout bob6
touch bobfile.txt7
git add bobfile.txt8
git commit -m "Create file for bob"
Indice
Vous êtes encore dans la branche de bob, pour fusionner la branche de Alice dans celle de Bob, il faut utiliser git merge
Solution
1
git merge alice