how should I return names of the changed files ignoring those where the only change is this java comment "// Generated on: ..."
I was triing something like this git diff HEAD~1 -G '^(?!\/\/ Generated on.*$).*' --name-only
, but it is complaining fatal: invalid regex: Invalid preceding regular expression
.
Basically I am quite new to regex so could someone help me to correct the regex expression?