git add -A
git commit -am 'commit message'
git push
###Remove Files in Repository
$ git rm -r [filename]
###Create .gitignore
$ vim .gitignore
- Write which folders or directories want to be ignored
.sass-cache
###Pull to Public Directory
- Move to pub directory & create git
$ git init
- Connect to repository on github
$ git remote add origin [email protected]:[userName]/[projectName].git
- Pull files
$ git pull origin master
##Revert to Previous Commit (permanently)
- reset code to old commit
git reset --hard <old-commit-id>
- push changes to repository
git push -f origin <branch>