Using Git

Share on:
Using Git in terminal (command line)
This a quick way to use Git and push your project to your repository on GitHub. At least that what I do and it works! This assumes that you have Git installed.
Configure Git
Need to set your email address and username.
git config --global user.email "you@example.com" git config --global user.name "Your Name"
To initialize or reinitialize existing Git repository
git init
Stage changes
git add .
See status of your files; staged, unstaged, modified, etc.
git status
Commit your changes, you’ll whatever you feel appropriate between the quotes:
git commit -m "your notes here"
Push/upload your changes to your github repository
git push origin master