git workflow

Post on 15-May-2015

1.597 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

présentation git

TRANSCRIPT

Workflow GIT

chez pmsipilot

branches

1. création d'une branche2. push origin3. checkout

branches

1. création d'une branche

branches

1. création d'une branche

> git branch ticket_1337

branches

1. création d'une branche

> git checkout ticket_1337ou si plus rapide : git checkout -b ticket_1337

branches

1. création d'une branche

> git commit (x2)

branches

1. création d'une branche

> git checkout master

branches

1. création d'une branche

> git commit

branches

2. push origin

branches

2. push origin

> git push origin ticket_1337

branches

3. checkout

branches

3. checkout

> git checkout -b ticket_1337 origin/ticket_1337

workflow

1. 2 équipes2. un master sain3. une branche par feature

workflow

3. une branche par feature

workflow

3. une branche par feature

> git checkout -b hotfix> git commit

workflow

3. une branche par feature

> git checkout master> git merge hotfix

workflow

3. une branche par feature

> git merge ticket_1337

workflow

3. une branche par feature

> git checkout master> git merge hotfix

workflow

3. une branche par feature

> git rebase ticket_1337

pmsiQuizz

1. HEAD 2. merge & rebase3. working tree & staging area (add)4. remote (fetch)5. fast-forward 6. RTFM

1. pflow2. pflow branch3. pflow ticket start, publish, update, finish

top related