Make git rebase safer on OS X