Git Tutorial
set your name and email
git config user.name Charles
git config user.email cmorace.public@gmail.com
create a repository
git init
git status
is your friend!add all the new files in your local repository’s directory
git add -A
did you add the right files?
git status
is your friend!commit the files to your repo
git commit -m "add a message"
did you commit the right files?
git status
is your friend!set the remote (check Github for the remote name)
push to the remote (check Github for the remote address)
After that you can push the files to your remote repository (e.g. Github) with:
git push