Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Git push is failed due to message regular expression

Nishant_jain April 18, 2020

I'm getting following error when I'm trying to push code from source tree to Git 

remote: refs/heads/support_r6: 7b1d91daaa77cbc03bc0853169e02a307a77b1b0: commit message doesn't match regex: ^(DIM-\d+|FLC-\d+|Revert ")(.|\n)*
remote:
remote: refs/heads/support_r6: d1121461bb4089825e384734b0900cd9b59bea89: commit message doesn't match regex: ^(DIM-\d+|FLC-\d+|Revert ")(.|\n)*
remote:
remote:

Please help.

1 answer

0 votes
JimmyVanAU
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2020

Hi Nishant, it looks like someone has set up some rules for your commit messages.

When the push fails, what is your commit message?

It should match one of the following formats:

DIM-348 New feature
FLC-1837 Bug fix
Revert last commit

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events