Presented by Zackary Lowery and David Myers at Town Hack Columbus 2014
This presentation is available online at https://townhack.github.io/git-101
Windows | Download the installer from http://git-scm.com/download/win |
Mac OS X >=10.9 | Attempting to run git from the terminal for the first time will prompt you to install the XCode Command Line Tools |
Mac OS X <10.9 | Download the installer from http://git-scm.com/download/mac |
Linux | Install using your distribution's package manager |
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.html
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
git checkout -b mybranch