Git: Committed for Life

The Git that Keeps on Giving

CCNY ACM

Introduction

  • Version Control System
    • Manages your changes
    • Free to experiment
  • Multiplayer Notepad
    • Great for online collaboration

What is Git?

git config

git clone

git status

$ On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

	modified:   git-cheatsheet/hello.tex

no changes added to commit (use "git add" and/or "git commit -a")

git add

Ex.

git commit

git log

git push

$ git push

git rm

git diff

git branch

$ git branch

Forking

Go to github.com

Git Presentation

By ccnyacm

Git Presentation

Slides for Git talk - CCNY ACM Fall 2015 to Spring 2016

  • 811