1 / 17

Version Control with Git

http://flic.kr/p/6oP7x7. Version Control with Git. Why track/manage different versions of code?. Backup: Undo or refer to old stuff. http:// git-scm.com /book/en/ Git -Branching-Basic-Branching-and-Merging. Branch: Maintain old release while working on new.

lasley
Download Presentation

Version Control with Git

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. http://flic.kr/p/6oP7x7 Version Control with Git

  2. Why track/manage different versions of code?

  3. Backup: Undo or refer to old stuff http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging

  4. Branch: Maintain old release whileworking on new http://git-scm.com/book/en/Git-Branching-Basic-Branching-and-Merging

  5. Collaborate: Work in parallel with teammates http://git-scm.com/book/en/Distributed-Git-Distributed-Workflows

  6. Version Control Systems (VCSs) • Help you track/manage/distribute revisions • Standard in modern development • Examples: • Revision Control System (RCS) • Concurrent Versions System (CVS) • Subversion (SVN) • Git older newer Our focus

  7. GitHub-User Perspective GitHub You Working Dir

  8. GitHub-User Perspective GitHub You Working Dir LocalRepos

  9. GitHub-User Perspective GitHub You Working Dir RemoteRepos LocalRepos

  10. Questions to answer How organized? GitHub You Working Dir RemoteRepos LocalRepos What operations?

  11. Repo Organization http://git-scm.com/book/

  12. Repo Organization Commits (from oldest to newest; hashes as commit IDs) http://git-scm.com/book/

  13. Repo Organization Snapshot of all files at each commit http://git-scm.com/book/

  14. Repo Organization Branch (last commit) http://git-scm.com/book/

  15. Local Repo Operations You • init • status • add/commit • log • checkout • … Working Dir LocalRepos

  16. How commit works Before http://git-scm.com/book/

  17. How commit works After http://git-scm.com/book/

More Related