Pergunta de entrevista da empresa Visa Inc.

How to enforce a commit message locally if it contains a required keyword

Resposta da entrevista

Sigiloso

19 de dez. de 2025

I explained that commit message rules can be enforced remotely using GitLab Push Rules. While is was not specified whether the enforcement was expected to be local or remote, I understand that another valid alternative approach would be using a local "commit-msg" hook.