Introduction to Version Control with Git – Why use source control? – Getting Started



Introduction to Version Control with Git – Why use source control? – Getting Started

0 0


ws_intro-to-version-control-with-git

WorkShop: Intro to Version Control with Git

On Github TownHack / ws_intro-to-version-control-with-git

Introduction to Version Control with Git

Presented by David Myers and Zackary Lowery at Town Hack Columbus 2014

Our Audience

Developers who are...

  • ...new to source control
  • ...new to Git
  • ...know a little about Git, but want to know more
Make verbal note that anyone is welcome to listen in, of course.

Why use source control?

  • Allows developers to work in teams effectively
  • Tracks file history over time
  • Allows for diverging branches of code
  • Allows for different changesets or branches to be merged

Why use Git?

  • Encourages frequent commits
  • Branching is a first class operation
  • Provides an entire local copy of the repository
Image courtesy of GitHub via WikiMedia Commons via the MIT license

Getting Started

Let's clone a repository!

Starting From Scratch

Add Your Changes

Commit Locally

Pull

Push Remotely

Wait... Pull? Push?