Git Cheat Sheet
Table of Contents
1 Git
The basics
- Cloning an online git repository
git clone https://the.url.of.the.repository.git
- Adding files
git add --all
- Stashing a commit
git commit -m 'A sensible message indicating what you have changed'
- Push your master branch to it's origin (usually GitHub)
git push origin master
- Pull down changes from your repo's origin (if made from another machine for instance)
git pull