Git workflow

1,890 views

Published on

présentation git

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,890
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Git workflow

  1. 1. Workflow GIT chez pmsipilot
  2. 2. branches1. création dune branche2. push origin3. checkout
  3. 3. branches1. création dune branche
  4. 4. branches1. création dune branche > git branch ticket_1337
  5. 5. branches1. création dune branche > git checkout ticket_1337 ou si plus rapide : git checkout -b ticket_1337
  6. 6. branches1. création dune branche > git commit (x2)
  7. 7. branches1. création dune branche > git checkout master
  8. 8. branches1. création dune branche > git commit
  9. 9. branches2. push origin
  10. 10. branches2. push origin > git push origin ticket_1337
  11. 11. branches3. checkout
  12. 12. branches3. checkout > git checkout -b ticket_1337 origin/ticket_1337
  13. 13. workflow1. 2 équipes2. un master sain3. une branche par feature
  14. 14. workflow3. une branche par feature
  15. 15. workflow3. une branche par feature > git checkout -b hotfix > git commit
  16. 16. workflow3. une branche par feature > git checkout master > git merge hotfix
  17. 17. workflow3. une branche par feature > git merge ticket_1337
  18. 18. workflow3. une branche par feature > git checkout master > git merge hotfix
  19. 19. workflow3. une branche par feature > git rebase ticket_1337
  20. 20. pmsiQuizz1. HEAD2. merge & rebase3. working tree & staging area (add)4. remote (fetch)5. fast-forward6. RTFM
  21. 21. 1. pflow2. pflow branch3. pflow ticket start, publish, update, finish

×