Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Git and GitHub Workflows

Git and GitHub Workflows

"All About Git Workflows"

When working with Git and GitHub, a common question is “What is a good workflow?” Join us for an exploration of pros and cons with git-flow and the GitHub Flow, branching patterns and merging strategies, as well as the nuances of rebasing and version history. See real-world scenarios and live demos to help make informed decisions that might work well for your team.

Matthew McCullough

August 26, 2013
Tweet

More Decks by Matthew McCullough

Other Decks in Programming

Transcript

  1. Git and
    GitHub Workflows

    with Mahew McCullough

    View Slide

  2. Mahew McCullough
    @mahewmccull
    @githubtraining

    View Slide

  3. Git
    1

    View Slide

  4. View Slide

  5. GitHub
    2

    View Slide

  6. WORLD’S LARGEST
    CODE-SHARING PLATFORM
    VC Investment
    $100 million

    Repositories
    8.0 million

    Users
    4.8 million

    Hubbernauts
    200

    Founded
    2008

    View Slide

  7. Paerns
    3

    View Slide


  8. Developer

    View Slide


  9. Maintainer

    View Slide


  10. Long-term support

    View Slide

  11. Branches
    4

    View Slide


  12. Primary-only

    View Slide


  13. master and feature

    View Slide


  14. master and
    feature and
    bug fix

    View Slide


  15. master and
    feature and
    bugfix

    View Slide


  16. master and
    stable and
    qa and
    integration and
    feature and
    bugfix

    View Slide


  17. git-flow

    View Slide

  18. View Slide


  19. GitHub Flow

    View Slide

  20. View Slide

  21. View Slide

  22. View Slide

  23. Merges
    5

    View Slide


  24. single feature delivery

    View Slide


  25. big-bang integration

    View Slide

  26. History
    6

    View Slide


  27. quality of code

    View Slide


  28. quality of history

    View Slide


  29. when history becomes permanent

    View Slide


  30. git commit --amend

    View Slide


  31. git rebase

    View Slide


  32. git rebase -i

    View Slide

  33. CI
    7

    View Slide


  34. status where it makes sense

    View Slide

  35. View Slide

  36. Git and
    GitHub Workflows

    with Mahew McCullough

    View Slide


  37. training.github.com

    View Slide

  38. @mahewmccull
    @githubtraining
    [email protected]

    View Slide