This gives you an annoying little prompt that makes you enter "yes" before pushing.
- Install the dependencies:
gem install highline colored
- Add
didyou.rb
to your PATH and make it executablechmod a+x didyou.rb
. - Add the git wrapper function in your shell startup file and reload your shell.