3 ms·
Tip of the day: you can prevent embarrassing commits by using a global gitignore file: https://help.github.com/articles/ignoring-files https://help.github.com/a
by IgorPartola 14y ago
Tip of the day: you can prevent embarrassing commits by using a global gitignore file: https://help.github.com/articles/ignoring-files https://help.github.com/articles/ignoring-files
- DaveInTucson 14y agoIf you also find little or no use for .bash_history, you can do this: 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.)
- niggler 14y ago$ unset HISTFILE The manpage for bash has many hidden gems
- IgorPartola 14y agoOne other cool thing: if your command starts with a space, it will not be logged to bash_history. For example: $ echo 'this is logged' $ echo 'this is not logged'