gestion_configuration:git:flow
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
gestion_configuration:git:flow [2016/11/23 20:46] – [Finish] sgariepy | gestion_configuration:git:flow [2022/02/02 00:42] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Installation ====== | ====== Installation ====== | ||
+ | |||
+ | Ubuntu: | ||
$ apt-get install git-flow | $ apt-get install git-flow | ||
+ | Mac: | ||
+ | $ brew install git-flow-avh | ||
====== Initialisation ====== | ====== Initialisation ====== | ||
Ligne 9: | Ligne 13: | ||
Il est recommandé de garder les valeurs par défaut: | Il est recommandé de garder les valeurs par défaut: | ||
- | * Les features | + | * Les fonctionnalités |
- | * Les hotfix | + | * Les correctifs |
- | * Les releases | + | * Les livraisons |
+ | ====== Fonctionnalité ====== | ||
+ | ===== Commencer ===== | ||
- | ====== Feature ====== | + | Va créer une branche dans '' |
- | + | ||
- | ===== Start ===== | + | |
- | + | ||
- | Va créer une branche dans '' | + | |
$ git flow feature start MYFEATURE | $ git flow feature start MYFEATURE | ||
Ligne 26: | Ligne 28: | ||
$ git flow feature publish MYFEATURE | $ git flow feature publish MYFEATURE | ||
- | ===== Finish | + | |
+ | ===== Terminer | ||
$ git flow feature finish MYFEATURE | $ git flow feature finish MYFEATURE | ||
+ | ====== Livraison ====== | ||
+ | ===== Commencer ===== | ||
- | ====== Release ====== | ||
+ | $ git flow release start RELEASE [BASE] | ||
+ | Le paramètre '' | ||
+ | Exemple: | ||
- | $ git flow release start RELEASE [BASE] | + | $ git flow release start 0.1.4 # va créer la branche release/ |
- | Le paramètre '' | ||
- | |||
- | Idéalement on pousse la branche release sur '' | ||
+ | Idéalement on pousse la branche de livraison sur '' | ||
$ git flow release publish RELEASE | $ git flow release publish RELEASE | ||
+ | |||
+ | |||
+ | ===== Terminer ===== | ||
+ | |||
Quand on a terminé le release: | Quand on a terminé le release: | ||
Ligne 54: | Ligne 63: | ||
$ git push --tags | $ git push --tags | ||
- | ====== | + | ====== |
+ | |||
+ | ===== Commencer ===== | ||
+ | $ git flow hotfix start VERSION [BASENAME] | ||
+ | ===== Terminer ===== | ||
+ | $ git flow hotfix finish VERSION | ||
[[http:// | [[http:// |
gestion_configuration/git/flow.1479930394.txt.gz · Dernière modification : 2022/02/02 00:43 (modification externe)