-
Notifications
You must be signed in to change notification settings - Fork 0
Github
matthew everard edited this page Nov 9, 2021
·
3 revisions
Toutes les branches de fonctionnalité sont créées à partir de l'état du code d'un projet.
Pull des derniers commits, puis réinitialise la copie de la branche master pour qu'elle soit la plus récente.
git checkout master
Création d'un branche
git branch <nom_branche>
Permet de se déplacer dans une branche
git checkout <nom_branche>
git merge master
git status <nom_branche>
git add <nom_branche>
git commit <nom_branche>
Import d'une branche source vers ma branche
git merge <branche_source>
Cette commande push <nom_branche> vers master
git push -u origin <nom_branche>
VOIR ICI dans notre wiki: https://github.com/ematthewephec/ProjetIntegration/wiki/Devops