http://www.synbioz.com/blog/git-adopter-un-modele-de-versionnement-efficace
git branch [-a]
git branch develop # créer la branche git checkout develop # aller sur la branche
git checkout -b feature/foo develop # créer la branche et aller dessus git commit -a -m "test" git push
git checkout develop git merge --no-ff feature/foo git branch -d feature/foo git push origin develop
git checkout master git merge --no-ff release/v1.2 git tag -a v1.2
git checkout develop git merge --no-ff release/v1.2 git branch -d release/v1.2.1
git checkout -b hotfix/v1.2.1 master git commit -a -m "Bumped version number to 1.2.1" git commit -m "Fix huge production bug" git checkout master git merge --no-ff hotfix/v1.2.1
git checkout develop git merge --no-ff hotfix/v1.2.1 git branch -d hotfix/v1.2.1 git flow init
git flow feature start foo git commit -am "fonctionalite" git push git flow feature finish foo
git flow feature publish foo
git flow feature pull origin foo
git flow release start v1.0.0 git commit -am "fonctionalite" git push git flow release finish v1.0.0
git flow hotfix start typo git flow hotfix finish typo