Exercise Committing and Pushing
Make sure you've already done the Github forking exercise.
Make your commit history look like this:
Added cheese commit adds a file called
cheese.c with these contents:
blue cheddar swiss
Added simpsons commit adds a file called
simpsons.c with these contents:
bart lisa maggie homer marge
Added my own dogs commit adds new dog types to the bottom of
NOTE: Your commit hashes will be different from mine--this is because the commit hashes take time and name and email into account.
Once your commit history looks like this, push your master branch to github.
git push origin master
You may find the
git commit --amend command useful to edit an existing commit (in case you mess up).
Go back to the main page.