Hack hack hack...

An open journal-- some of it written for you, but most of it is for me.

Git Cheatsheet

  • git clean -f -d removes all untracked files. git reset --hard HEAD won’t remove untracked files.
  • git checkout <filename> untracks a file and returns it to its original state.
  • git push -u origin my_branch sets upstream. Here is a good explanation.