Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to Git Version Control

Introduction to Git Version Control

Presented for the WebCamp 2015 track on Git.

Most newcomers to version control think Git is for backing up projects or reverting to older versions of a project easily. While Git does provide facilities to do those, it actually isn't about backups at all! It addresses a more fundamental problem in development.

The presentation highlights a short, sweet, and simple benefit of Git for any team project.

Videos:
http://youtu.be/BniThVmngL8
https://youtu.be/iHSC76woAJk

Czar Pino

March 14, 2015
Tweet

Other Decks in Programming

Transcript

  1. Introduction to Git Version Control And MANY More… Drupal Perl5

    PHPMyAdmin Ruby on Rails Wine AngularJS ReactJS EmberJS Chef Vagrant Ruby Scala PHP CoffeeScript Go
  2. Introduction to Git Version Control Create when working on a

    new project Clone when working with an existing project 2. Setup a Repository
  3. Introduction to Git Version Control 2.1 Creating a Repository Go

    to your project directory and git init # In windows: C:\Users\czarpino\dev\MyProject cd /Users/czarpino/dev/MyProject ! # Initialize the root directory of the repo git init
  4. Introduction to Git Version Control Go to your project directory

    and git clone ! # Copy remote repository git clone https://github.com/czarpino/repo-name . 2.1 Creating a Repository
  5. Introduction to Git Version Control 1. Code 2. Save 3.

    Share changes 1. Code 2. Save 3. Inform git 4. Share changes 3. Update your Workflow
  6. Introduction to Git Version Control 3.1 Informing Git git add

    modified files and git commit # Specify which files to commit git add README.md ! # Commit changes git commit -m “Bumped version to 1.0”
  7. Introduction to Git Version Control 3.2 Send changes to remote

    repo with git push # Push changes to remote repository git push origin master Sharing Changes