I am trying to run this git command on my pipeline:
export GIT_RELEASE_NOTES="$(git log -n 5 --pretty=format:"- %s" --grep=booooooo --invert-grep )"
and I get this error:
fatal: unrecognized argument: --invert-grep
please note that I have run the same command on my terminal and works fine,
and if I removed "--invert-grep" from the script it works also.
what I am missing here?