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

Learn to use Git and Github

Steve Klise
September 14, 2012

Learn to use Git and Github

Steve Klise

September 14, 2012

Transcript

28 slides
  1. + Learn to use Git, Github and the Terminal. While

    we wait to start, do these 2 things please: Download & Install Git http://git-scm.com/download Signup for Github https://github.com/signup/free If you have Xcode installed you can skip this step. There will be no icon for Git
  2. Today: What is Git What is Github Why you should

    care Talking to your computer How to use Git & Github Advanced Usage
  3. What is Git (big picture version) Git is a program

    that saves snapshots of the les in a folder. A more powerful program akin to Versions or Time Machine.
  4. What is Git (more speci c) Git provides powerful tools

    for combining and switching between these snapshots.
  5. Repository Lingo A folder that is being tracked with Git.

    Everything in the folder, and it’s history.
  6. What is Github Github is a website where you can

    share and collaborate on repositories you are tracking with Git.
  7. Git & Github can talk to each other but they

    are different separate things.
  8. $ ls $ cd ~/Desktop $ mkdir new_project $ cd

    new_project $ touch hello.txt $ echo “Hello” >> hello.txt $ cat hello.txt $ pwd
  9. # Open Processing, save project $ cd ~/Desktop/demo $ git

    init $ git status $ git add demo.pde $ git commit -m “First commit”

More Decks by Steve Klise

Other Decks in Technology