Slide 1

Slide 1 text

Hi I’m Sam This is an Octocat -->

Slide 2

Slide 2 text

@samjbmason Developer at Benchmark Studios

Slide 3

Slide 3 text

Talking about Git & Github

Slide 4

Slide 4 text

Look familiar?

Slide 5

Slide 5 text

Teamwork!

Slide 6

Slide 6 text

Think of Git as a toolbox!

Slide 7

Slide 7 text

Install Head over to http://git-scm.com/ Download and run installer gui / apps Tower for OSX Github app OSX & Windows

Slide 8

Slide 8 text

Initialize git init Creates the necessary hidden git files within a project / repo, only needs to be ran once per project

Slide 9

Slide 9 text

Add git add . or index.html Enables git to become aware of files and folders within a project Can either add all files and folders using dot or individual files Still just observing from afar

Slide 10

Slide 10 text

Commit git commit -m “A message” Most frequently used command Takes a snapshot of your code at that point in time Allows you to add a descriptive message Can commit all files or a select few

Slide 11

Slide 11 text

Push git push Only used when working with remote servers Uploads all of your commits to server Will only push commits

Slide 12

Slide 12 text

Pull git pull Only used when working with remote servers Will pull/ download any commits from remote server Attempts to merge two versions

Slide 13

Slide 13 text

Branching Allows you to split your code so you can work on another version separately without it messing up your master branch. Master Branch --> <-- Feature Branch

Slide 14

Slide 14 text

Making git cool Allows collaborating on projects as simple as a couple of clicks of a button Comes with some awesome extra features FREE (for public repos)

Slide 15

Slide 15 text

Thanks @samjbmason