Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Webinar: Arbeiten mit Git und GitHub

814 views

Published on

Hier werden vor allem diese Themen behandelt:
Vorteile der Arbeit mit einer Versionsverwaltung; die wichtigsten Features von Git (auch im Unterschied z.B. zu Subversion); die Benutzung der GitHub-Plattform; Demonstration: Arbeiten mit Git und GitHub

Published in: Technology
  • Be the first to comment

Webinar: Arbeiten mit Git und GitHub

  1. 1. Webinar Working with Git and GitHub March 19th Joscha Krug CEO marmalade GmbH Marco Steinhäuser Community Guide OXID eSales AG Dr. Roman Zenner Geschäftsführer wasmitweb GmbH Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  2. 2. What is it about? > Advantages working with a version control system > Most important features of GIT (in comparison to SVN) > Usage of GitHub > Working with GIT and GitHub Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  3. 3. Marco Steinhäuser > Community Guide at OXID eSales > A “Community what?” → another presentation ;) > http://about.me/marco.steinhaeuser Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  4. 4. Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  5. 5. Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  6. 6. Advantages working with a VCS > VCS = abbr. for Version Control System > Versioning without the need of a file copy > Rollback is possible > Diff between different versions > Distributed work on one project > One central storage area Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  7. 7. Advantages using GIT ● Lean, lank and faster than CVS (ancient) and SVN ● Distributed working on projects towards single files ● Difference between commit & push ● Repo file formats are simple, so repair is easy and corruption rare BUT: ● Subversion clients more mature than for GIT ● Revision numbers are much more simple in SVN whereas GIT uses SHA-1 hashes Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  8. 8. Advantages using GitHub > Already many developers working with it > Social components (e.g. follow others) > Simple contributions possible via forking feature without prior agreement > Good documentation and help Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  9. 9. GUI or terminal? Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  10. 10. Principles of Pull Requests Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  11. 11. How to contribute: 1. Fork! 1. Fork from the origin of the project! 2. Press the fork button 3. Enjoy! Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  12. 12. How to contribute: 2. Commands $ git clone [URI of the repo.git] $ git add [/folder/file.php] (on file level only, doesn't work for empty folders → index.html) $ git diff [?] $ git commit -m “[text]” (locally only, in difference to SVN) $ git push -remote [origin] -branch [master] Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  13. 13. How to contribute: 2. Commands - git clone Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  14. 14. How to contribute: 2. Commands - git clone Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  15. 15. How to contribute: make your changes Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  16. 16. How to contribute: 2. Commands - git add Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  17. 17. How to contribute: 2. Commands - git commit Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  18. 18. How to contribute: 2. Commands - git push Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  19. 19. How to contribute: check on GitHub Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  20. 20. How to contribute: 3. Pull Request 1. Press the Pull Request button in your forked repository 2. Send the pull request to the original repo, describe what you did and what your change is about. Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  21. 21. How to contribute: 3. Pull Request Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG
  22. 22. Thank you! Joscha Krug marmalade GmbH GitHub: jkrug Marco Steinhäuser OXID eSales AG GitHub: kermie Dr. Roman Zenner wasmitweb GmbH GitHub: ??? Copyright marmalade GmbH & OXID eSales AG © 2013 OXID eSales AG

×