On Github TownHack / git-101
Presented by Zackary Lowery and David Myers at Town Hack Columbus 2014
This presentation is available online at https://townhack.github.io/git-101
Have all related sites up before presenting.
Introduce myself and how I use Git professionally. Tie Git use into the Hackathon over the weekend.
Mention reveal.js and how it works (press space to move forward through presentation). Maybe bring up the Github page?
Also, ask the following questions:
Have you ever...
git clone https://github.com/TownHack/git-101.git
<p> <small> Presented by {{Your Name Here}} at <a href="https://townhack.co"> Town Hack Columbus </a> 2014 </small> </p>
git checkout index.htmlThis would be a good time to mention tab-completion and mention the diversity of the checkout command.
mkdir myproject cd myproject git init
touch README.md git add README.md
git status
git commit -m "Add a README file to myproject"
git remote add origin https://github.com/<user>/<repo>.git
git pull
git push
The number of planets are <<<<<<< HEAD nine ======= eight >>>>>>> branch-name .Example borrowed from Github Mention that solving a conflict is just like adding, committing, and pushing any other change.
git checkout -b mybranch