Tip of the day: you can prevent embarrassing commits by using a global gitignore file: https://help.github.com/articles/ignoring-files
rm ~/.bash_history
ln -s ~/.bash_history /dev/null
(There's probably some .bashrc setting that turns off history, but I'm making it a goal in my life to know as little about bash configuration as I possibly can.) $ unset HISTFILE
The manpage for bash has many hidden gems $ echo 'this is logged'
$ echo 'this is not logged'