Cheatography
https://cheatography.com
Commandes git et mise en place d'un workflow "git flow"
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Git
Création du dépot : git clone
|
Renomer une branche : git branch -m nouveau_nom
|
|
|
Initialisation du git-flow
|
|
git push -u origin develop
|
Feature
Création |
|
git flow feature start feature_branch
|
git checkout -b feature_branch
|
|
Déploiement |
|
git flow feature finish feature_branch
|
git merge feature_branch
|
|
Release
Initialisation |
|
git flow release start 0.1.0
|
git checkout -b release/0.1.0
|
|
Déploiement |
|
|
|
git checkout merge release/0.1.0
|
|
git flow release finish '0.1.0'
|
|