Skip to content

Github workflow

Laurent Arnoult edited this page Apr 19, 2021 · 2 revisions

Pour contribuer à Clap, suivez le workflow suivant:

  1. Mettez vous à jour avec le code sur master.
  2. Créez une branche de travail 'ma-nouvelle-feature'.
  3. Développer les nouvelles fonctionnalités sur cette branche.
  4. Testez votre branche sur Staging.
  5. Créez une Pull-request de votre branche vers master.
  6. Demandez un autre contributeur au projet de valider les changements.
  7. 'Merge' la PR sur master.

Utiliser Git en ligne de commande

Voici les commandes pour Git. (Sinon utiliser Github Desktop c'est plus facile 😉)

  1. Mettez vous à jour avec le code sur master:
git checkout master
git pull
  1. Créez une branche de travail 'ma-nouvelle-feature'.
git checkout -B "ma-nouvelle-feature"
  1. Développer les nouvelles fonctionnalités sur cette branche. Régulièrement faites des commits:
git add .
git commit -m "mes-changements"
git push
  1. Testez votre branche sur Staging. (Voir prochaine étape)
  2. Créez votre pr: https://github.com/parlemonde/clap/compare/master...ma-nouvelle-feature

<= Précédent: Lancer Clap avec Docker               Suivant: Déployer sur Staging =>

Clone this wiki locally