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

Git for Subversion Users (Zend Webinar)

Git for Subversion Users (Zend Webinar)

With the move of many big PHP open source projects to Git (and Github), PHP users worldwide are now exposed to a new version control system that is very different from good old Subversion. In this webinar, the concepts of Git are explained to those not yet converted to Git. The benefits of Git over Subversion will be discussed as well as how to use Git successfully for your projects.

Stefan Koopmanschap

February 23, 2012
Tweet

More Decks by Stefan Koopmanschap

Other Decks in Technology

Transcript

  1. Git Checkout Checkout Checkout Checkout Checkout Checkout repository repository repository

    repository repository repository donderdag 23 februari 12
  2. Git Checkout Checkout Checkout Checkout Checkout Checkout repository repository repository

    repository repository repository donderdag 23 februari 12
  3. Git Checkout Checkout Checkout Checkout Checkout Checkout repository repository repository

    repository repository repository donderdag 23 februari 12
  4. Share • local commit • Git clone • Zip and

    share donderdag 23 februari 12
  5. Share • local commit • Git clone • Zip and

    share • not practical donderdag 23 februari 12
  6. Branch • Subversion • branch on the server • branching

    is expensive donderdag 23 februari 12
  7. Branchen • Git • very cheap • 1 command, local

    branch • switching is easy donderdag 23 februari 12
  8. git rebase • just like merging • more powerful •

    more dangerous donderdag 23 februari 12
  9. merge 1 2a 2b 3a 3b 4a 4b origin branch

    donderdag 23 februari 12
  10. merge 1 2a 2b 3a 3b 4a 4b merge origin

    branch donderdag 23 februari 12
  11. rebase 1 2a 2b 3a 3b 4a 4b origin branch

    donderdag 23 februari 12
  12. rebase 1 2a 2b 3a 3b 4a 4b origin branch

    donderdag 23 februari 12
  13. rebase 1 2a 2b 3a 3b 4a 4b origin branch

    donderdag 23 februari 12
  14. rebase 1 2a 2b 3a 3b 4a 4b origin branch

    donderdag 23 februari 12
  15. rebase 1 2a 2b 3a 3b 4a 4b origin branch

    donderdag 23 februari 12
  16. rebase 1 2a 2b 3a 3b 4a 4b origin branch

    donderdag 23 februari 12
  17. rebase 1 2a 2b 3a 3b 4a 4b origin branch

    donderdag 23 februari 12
  18. git rebase • interactive • step by step rebase •

    control over what happens donderdag 23 februari 12
  19. git rebase • interactive • step by step rebase •

    control over what happens • rewrite your history donderdag 23 februari 12
  20. the “github way” • fork • clone • develop in

    branch • push branch donderdag 23 februari 12
  21. the “github way” • fork • clone • develop in

    branch • push branch • pull request donderdag 23 februari 12
  22. the “github way” • fork • clone • develop in

    branch • push branch • pull request • lead dev: merge/rebase, push to central repo donderdag 23 februari 12
  23. workflows • Git on your own • local branch •

    merge stable to master donderdag 23 februari 12
  24. workflows • Git on your own • local branch •

    merge stable to master • push to remote donderdag 23 februari 12