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.

Game Programming - Git

168 views

Published on

Appendix A of the lecture Game Programming taught at HAW Hamburg.

Introduction to version control systems in general, and Git in particular.

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Game Programming - Git

  1. 1. Game Programming Git Nick Prühs
  2. 2. Objectives • To get an overview of version control systems in general • To learn how to use Git in a production environment • To understand advanced concepts of branching and merging 2 / 58
  3. 3. Local Version Control 3 / 58
  4. 4. Centralized Version Control 4 / 58
  5. 5. Distributed Version Control 5 / 58
  6. 6. Version Deltas 6 / 58
  7. 7. Version Snapshots 7 / 58
  8. 8. Git Areas 8 / 58
  9. 9. Git Lifecycle 9 / 58
  10. 10. DEMO • Installing Git • Installing SourceTree • Creating a GitHub account • Creating a Git repository • Cloning the repository 10 / 58
  11. 11. DEMO • Check file status • Adding new files • Viewing changes • Staging modified files • Moving files • Removing files 11 / 58
  12. 12. DEMO • Pulling • Commiting changes • Pushing 12 / 58
  13. 13. DEMO • Unstaging files • Reverting files 13 / 58
  14. 14. DEMO • Viewing history • Ignoring files • Tagging 14 / 58
  15. 15. Git Commit Tree 15 / 58
  16. 16. Git Commit & Parents 16 / 58
  17. 17. Git Branch 17 / 58
  18. 18. Git Branches 18 / 58
  19. 19. Git HEAD 19 / 58
  20. 20. Switching Branches 20 / 58
  21. 21. Adding Commits 21 / 58
  22. 22. Switching Branches 22 / 58
  23. 23. Divergent History 23 / 58
  24. 24. Merging Branches 24 / 58
  25. 25. Merging Branches 25 / 58
  26. 26. Origin 26 / 58
  27. 27. Origin 27 / 58
  28. 28. Origin 28 / 58
  29. 29. Hint Split your work up into small, unrelated commits! 29 / 78
  30. 30. Git Commit Messages 30 / 58 • ADDED • CHANGED • REMOVED • FIXED
  31. 31. References • Chacon, Straub. Pro Git. 2nd Edition. Apress, December 24, 2014. http://www.git-scm.com/doc 31 / 58
  32. 32. Thank you! http://www.npruehs.de https://github.com/npruehs @npruehs nick.pruehs@daedalic.com

×