-
Notifications
You must be signed in to change notification settings - Fork 4
Session #4 Host your site on Github
Seth McLaughlin edited this page May 16, 2014
·
3 revisions
Git cheat sheet: http://gitref.org/
Copies a git repository from a remote source. Also adds the original location as a remote so you can fetch from it again and push to it if you have permissions.
git clone git@github.com:user/test.gitAdds files changes in your working directory to your index.
git add .Takes all of the changes written in the index, creates a new commit object pointing to it and sets the branch to point to that new commit.
git commit -m "committing added changes"Push code to GitHub
git push