by carlessanagustin com on 11 2013 barcelona
play

by carlessanagustin.com on 11/2013 - Barcelona What is Git? Version - PowerPoint PPT Presentation

by carlessanagustin.com on 11/2013 - Barcelona What is Git? Version Control VCS Distributed Revision Control DRCS Source Code Management SCM Git is free software distributed under GNU GPL2 Git - http://git-scm.com


  1. by carlessanagustin.com on 11/2013 - Barcelona

  2. What is Git? Version Control – VCS Distributed Revision Control – DRCS Source Code Management – SCM Git is free software distributed under GNU GPL2 Git - http://git-scm.com http://en.wikipedia.org/wiki/Git_(software)

  3. What is version control? It tracks entries... ● Tracks changes ● Tracks who makes the changes ● Tracks why changes were made ● Tracks changes, not versions

  4. Why should we use a VCS? Automatic backups Change history log Undo Fearless experimentation

  5. How do teams benefit from VCS? Synchronization Accountability Conflict detection Backups Change tracking Undo to version X Labeling changes

  6. Centralized VCS flow

  7. Distributed VCS No need to communicate with a central server ● Faster ● No network access required ● No single failure point Encourages collaboration and “forking” of projects ● Developers can work independently ● Submit change sets for inclusion or rejection

  8. Distributed VCS flow

  9. History of VCS Centralized CVS 1986 Perforce 1995 Subversion 2000 MS Team Foundation Server 2010 Distributed Git 2005 Mercurial 2005 http://en.wikipedia.org/wiki/Comparison_of_revision_control_software

  10. VCS basic concepts Repository / Database (files + history) Working set (local machine files) Add / Reset Check-in / Commit (from WS to R) Check-out / Update (from R to WS) Tag / Label

  11. VCS terminology Tag / Label Branch / Fork Merge / Clone Reverse integration / Forward integration Distributed VCS only: Push / Export Pull / Import

  12. Three-tree architecture

  13. Git Instructions

  14. Git Instructions Reference Getting and Creating Projects init – clone Basic Snapshotting add – status – diff – commit – reset – rm, mv – stash Branching and Merging branch – checkout – merge – log – tag Sharing and Updating Projects fetch, pull – push – remote Inspection and Comparison log – diff

  15. Git Branching Model

  16. Git GUI Clients SmartGit GitEye Git-cola GitBox http://git-scm.com/downloads/guis

  17. Git Hosting GitHub - http://www.github.com BitBucket - https://bitbucket.org Self-hosting: GitLab - http://gitlab.org http://en.wikipedia.org/wiki/Comparison_of_open_source_software_hos ting_facilities

  18. Git help Git - http://git-scm.com http://git-scm.com/book https://www.atlassian.com/git/tutorial/git-basics http://gitref.org/ http://rogerdudler.github.io/git-guide/ http://gitimmersion.com/ Try me! http://try.github.io

  19. Example 01: Diagram

  20. Example 02: Diagram

  21. Thank you very much Carles San Agustin info@carlessanagustin.com www.carlessanagustin.com +34 655 441 378

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend