Presentation is loading. Please wait.

Presentation is loading. Please wait.

Git primer Landon Cox January 19, 2017.

Similar presentations


Presentation on theme: "Git primer Landon Cox January 19, 2017."— Presentation transcript:

1 git primer Landon Cox January 19, 2017

2 What is git? “Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. “ (From

3 Why use version control?
Allows concurrent development Provides code backup and archiving Keeps track of project history

4 Why use git for version control?
Git is the industry standard Most companies use git (or something very similar) Well supported by nearly all IDEs Git is designed for concurrent development Team members can work on features independently Relies on the notion of a “branch” (snapshot + deltas) Isolate changes to a branch, integrate with rest of code when ready Git enables code review Can ask team members to review changes Iterate on branch with feedback before merging with main code line

5 git basics Common commands There are many, many others
git clone (create local copy) git add (identify files to monitor for changes) git commit (group changes into a delta) git push (send delta to server) git pull (retrieve changes from server) There are many, many others

6 git in compsci290.3 Use gitlab.oit.duke.edu Other functionality
Your account id must be your NetID You will need to upload a public ssh key We will pull from gitlab.oit.duke.edu for grading Other functionality Code review (i.e., merge requests) Access control (teammates, profs, TA)

7 (or how to submit Project 0)
A quick walkthrough (or how to submit Project 0)


Download ppt "Git primer Landon Cox January 19, 2017."

Similar presentations


Ads by Google