Course Hero Logo

Lesson 0.5 Introduction to Git.pptx - A Simple Introduction...

Course Hero uses AI to attempt to automatically extract content from documents to surface to you and others so you can study better, e.g., in search results, to enrich docs, and more. This preview shows page 1 - 8 out of 30 pages.

A Simple Introduction to Git: adistributed version-control systemCS 5010 Program Design Paradigms“Bootcamp”Lesson 0.5© Mitchell Wand, 2012-2014This work is licensed under aCreativeCommons Attribution-NonCommercial4.0 International License.1
Learning ObjectivesAt the end of this lesson youshould be ableto explain:how git creates a mini-filesystem in your directorywhat commit, push, pull, and sync dothe elements of the basic git workflowhow git allows you to work across multiplecomputershow git allows you and a partner to work together2
Git is adistributedversion-control systemYou keep your files in arepositoryon your localmachine.You synchronize your repository with a repository ona server.If you move from one machine to another, you canpick up the changes by synchronizing with the server.If your partner uploads some changes to your files,you can pick those up by synchronizing with theserver.3
Git is a distributedversion-controlsystemTerminology:In git-speak, a “version” is calleda “commit.”Git keeps track of the history of your commits,so you can go back and look at earlierversions, or just give up on the current versionand go back some earlier version.4
A simple model of gitMost git documentation gets into details veryquickly.Here’s a very simple model of what’s going onin git.5
Your filesmy-projectdocsmanual.docxuser_docs.docxsrcmain.rktmodule1.rktmodule2.rktmodule3.rktHere are your files, sittingin a directory called my-project6
Your files in your git repositorymy-projectdocsmanual.docxuser_docs.docxsrcmain.rktmodule1.rktmodule2.rktmodule3.rkt.gitWhen you have a git repository, you have anadditional directory called .git, which pointsat a mini-filesystem.

Upload your study docs or become a

Course Hero member to access this document

Upload your study docs or become a

Course Hero member to access this document

End of preview. Want to read all 30 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Summer
Professor
NoProfessor
Tags
partner, The Work, git

Newly uploaded documents

Show More

Newly uploaded documents

Show More

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture