In the output of git push
, lines preceeded by remote:
are the output of a hook installed on the remote side.
This error isn't a message coming from git itself, but rather indicate that the maintainers of the remote repo purposefully installed a script to force the compliance to some rule (it looks like they expect a message matching that regexp, and their intention is probably to have a link to a ticket in their issue tracker or some code to identify a feature).
So the question :
What is the actual format and how do I push it? Do I need to revert back even if I do a new commit with ...
can only be answered by the maintainers of that project.
Check the project's README, or see if they have some Contributing guidelines ; if you don't find your answer there, ask the maintainers directly.