Saving and Sharing Code the Smart Way with Git


Please login to enroll is this event.


Have you ever tried to use Dropbox for sharing code with collaborators on a project, but accidentally deleted someone else’s work? Ever wished you could undo that “improvement” you made to your program four days ago that you now realize breaks your code? Whether you’re working with others, or are coding on your own, using a version control system can make development a much more sane and enjoyable process, while facilitating team development and code sharing.

This Intro to Git class will teach you the ins and outs of version control, why it's important, and how to use Git effectively to keep track of changes to your projects. We will cover project and repository creation and how to begin if you're working solo as well as how to dive into a project with an existing codebase. Most importantly, we will go over how to recover from any mistakes you make to get back to a previous, mistake-free version of your project as well as some of the command line basics you'll need to master Git.

We will be using Cloud9 as our virtual dev environment which is free to sign up for. It comes with a command line (bash) and git already installed. Additionally, the repo we will be working out of is https://gitlab.com/cgorevin/git-tutorial. Feel free to take a peek before class. Additionally we ask you to take a minute to download and save this file to your computer: https://drive.google.com/open?id=1QXoxbRPbQVUQqSk3HoRmaUC9cUv9tbyp

Looking forward to seeing you in class!

Subjects: basics git



Status Archived
Date Monday, February 4th, 2019
Time 6:00pm - 8:00pm
Location TEC - Classroom
Leader Cait Gorevin
Enrolled 17 of 30
The TEC (Technology Engagement Center) Classroom is in the Telcom Building. To get there, just walk down the stairs from Perkins/Bostock like you’re heading towards CIEMAS. When you get to the road halfway down, make a right and Telcom is the building ahead of you to the left. The Technology Engagement Center is the first floor, so just enter in the front of the building. The classroom is to the right of the entrance, adjacent to the center circular room. http://maps.duke.edu/map/?id=21&mrkIid=2765