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:49] – 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 12: | Ligne 17: | ||
* Les livraisons dans '' | * Les livraisons dans '' | ||
- | ====== | + | ====== |
- | ===== Start ===== | + | ===== Commencer |
Va créer une branche dans '' | Va créer une branche dans '' | ||
Ligne 24: | Ligne 29: | ||
$ git flow feature publish MYFEATURE | $ git flow feature publish MYFEATURE | ||
| | ||
- | ===== Finish | + | ===== Terminer |
$ git flow feature finish MYFEATURE | $ git flow feature finish MYFEATURE | ||
- | ====== | + | ====== |
+ | |||
+ | ===== Commencer ===== | ||
$ git flow release start RELEASE [BASE] | $ git flow release start RELEASE [BASE] | ||
Le paramètre '' | Le paramètre '' | ||
+ | |||
+ | Exemple: | ||
+ | |||
+ | $ git flow release start 0.1.4 # va créer la branche release/ | ||
+ | |||
Idéalement on pousse la branche de livraison 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 46: | 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.1479930542.txt.gz · Dernière modification : 2022/02/02 00:43 (modification externe)