Skip to content
Snippets Groups Projects
Select Git revision
  • 6f9145d0c51c0823aa770dd8e864141faaadc97d
  • main default protected
2 results

pre-commit.sh

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    pre-commit.sh 178 B
    #!/bin/bash
    
    if [ ! -f "setup.sh" ]; then
      echo "pre-commit.sh must be executed with repository root as working directory!"
      exit 1
    fi
    
    pre-commit install --hook-type pre-push