gitgitblit

Gitblit reject revision


How can one reject a revision when someone pushes to a git repository hosted on gitblit? I only want it when actually pushing, not a local hook, (I can achieve this by adding a local git pre-commit hook)


Solution

  • There are two ways: groovy push hook (examples) or a custom plugin (example).