Why not just use Rubocop to do it for you?
It will help you fix other issues with your code as well... ;-)
@vfalconi I've used that one too!
Before switching from Firefox to Chrome for web development, I used to use FirePHP.
For a brief period I used Chrome Logger before going with a customized version of chrome-firephp
That way I could view the output both in Chrome and Firefox.
I've always just used xDebug's ability to overload var_dump
to do exactly the same.
I don't really see any advantage in creating custom methods for things PHP is already quite capable of doing all by itself...
To set rebase as the default for existing branches you don't have to recreate or re-clone anything!
Just add it to the config using:
git config branch.YOUR_BRANCH_NAME.rebase true
(You may want to update your tip to include this information ;-)
It's a lot easier to just set rebase as the default using
git config branch.autosetuprebase always
As a workaround for various scenarios (file list too long, whitespace in filename, relative path used) I found the following worked better for removing the
._*
files: