git checkout main
git pull origin mainNom convention : feat/nom-de-la-feature
git checkout -b feat/nom-de-la-feature- Faire des commits atomiques et clairs :
git add . git commit -m "message explicite"
- Pousser régulièrement :
git push -u origin feat/nom-de-la-feature
- Vers
main(oudevselon organisation) - Remplir la description (ce qui a été fait, pourquoi, etc.)
- Ajouter les reviewers
- Si changements demandés : retourner à l’étape 3
- Merge via GitHub (squash ou rebase selon convention)
- Supprimer la branche distante si terminé
git fetch origin
git rebase origin/main