Github Basic Commands, Setup a New Repository

GIT HUB

Clone a GitHub project onto my local drive:

git clone git@github.com:sethmh82/uci_class.git

Show the status of Git project and what files are not synced
git status

Add a file to the project
git add first.html

Commit the file to the repository on GitHub
git commit -m "This is my first file"

Push from local to Github
git push origin master

Pull from Github to local
git pull master origin

Posted In CategoriesSSH| Tagged Tags