1 / 8

CS122B: Projects in Databases and Web Applications Winter 201 9

CS122B: Projects in Databases and Web Applications Winter 201 9. Notes 03: Git Professor Chen Li UC Irvine. Version control. Jorge Cham, PHD Comics, http://www.phdcomics.com/comics/archive. php?comicid=1531. Version control.

ncolwell
Download Presentation

CS122B: Projects in Databases and Web Applications Winter 201 9

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. CS122B: Projects in Databases and Web ApplicationsWinter 2019 Notes 03: Git Professor Chen Li UC Irvine

  2. Version control Jorge Cham, PHD Comics, http://www.phdcomics.com/comics/archive. php?comicid=1531

  3. Version control We can use Git to save each version and go back and forth between versions. Version 1 Version 2 Version 3 Document.txt Adapted from: Software Carpentry, "Version Control with Git", http://swcarpentry.github.io/git-novice/01-basics/

  4. History of version control • CVS • Subversion • Git • … https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control

  5. Version control in Git • Team members change code on their local machines and push the changes to the Github server. • Other team members can pull the changes from the server and continue to work. • Therefore, the entire version history of all the files are replicated among all the team members. https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control

  6. Version control in Git https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control

  7. Branches in Git Branch for feature f1 Master Branch for feature f2

  8. Branches in Git • Branches: used to separately develop a feature piece-wise and later merge the complete code intothe master branch • The circles below represent commits (think of a commit as a snapshot of the files in the repository.)

More Related