Flux de travail
git switch -c page-contact
git add . && git commit -m "Ajout de la page contact"
git push -u origin page-contactPuis sur GitHub : Compare & pull request › titre, description (quoi, pourquoi, comment tester), relecteurs.
Relecture
- Commentaires ligne par ligne ; Request changes / Approve.
- Corrections : nouveaux commits sur la même branche, la PR se met à jour.
- Contrôles (GitHub Actions) au vert.
- Merge (ou Squash and merge), puis supprimer la branche ; en local :
git switch main && git pull.
Contribuer à un autre projet
Fork › cloner votre copie › branche › push › PR vers le projet d'origine. Lisez son CONTRIBUTING.md. Ligne de commande : gh pr create (GitHub CLI).