Often you might have committed something, pushed it, and then realized "crap! I actually don’t want that".
As an example, one of the CS61 TFs is offended by commit 4b40046 ("Adding aliases"). Run git show 4b40046 to see the changes:
4b40046 ("Adding aliases")
git show 4b40046
Your task is to figure out how to revert commit 4b40046. Use Google. Your end result if you run git lg should look like this:
And the contents of names.txt should look like this:
Once you've finished, push your changes! git push origin master
git push origin master
Go back to the main page.