pre-push hook installed locally - Received this message:
[info] grep: invalid option -- P
usage: grep [options] pattern [files]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
error: failed to push some refs to 'https://<your.github.url.com>/'
Bridge For Git :2.15.2 and lower
MacOS
This can be workaround by:
Please note that just having the fix does not immediately propagate the new script (without -P) at all the mappings to all developer workstations. Nevertheless;it should work fine for mappings that are newly cloned.