Show Menu
Cheatography

Git bases and git flow Cheat Sheet (DRAFT) by

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 nouvea­u_nom
 

Initia­lis­ation du git-flow

git branch developp
git flow init
git push -u origin develop

Feature

Création
git checkout develop
git flow feature start featur­e_b­ranch
git checkout -b featur­e_b­ranch
 
Déploi­ement
git checkout develop
git flow feature finish featur­e_b­ranch
git merge featur­e_b­ranch
 

Release

Initia­lis­ation
git checkout develop
git flow release start 0.1.0
git checkout -b releas­e/0.1.0
 
Déploi­ement
git checkout develop
git checkout master
git merge releas­e/0.1.0
git checkout merge releas­e/0.1.0 
 
git flow release finish '0.1.0'