Skip to content

Add project specific gitconfig and more

Karel Koci requested to merge feature/git-hooks into develop

This introduces primarily project specific config that includes new scripts and hook.

Hook checks if commit we push to Gitlab server are correct. There are multiple checks:

  • Check naming convention
  • Check base (master vs develop)
  • Protect against forgotten develop push when pushing master

In terms of aliases this adds:

git new-mr:
This opens web browser with new merge request on https://gitlab.nic.cz for current branch.

git new-banch:
This creates new branch interactively and should help users with naming convention.

Edited by Vojtech Myslivec

Merge request reports