镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

34 Commits

Folders and files

Repository files navigation

pre-commit-check

Pre-commit hook based on https://pre-commit.com.

Use-Case: Need to exclude specific string from commiting to codebase

Sample Usage

1. Add the hook to your .pre-commit-config.yaml

repos:
- repo: https://github.com/Kudrixon/pre-commit_hook_static_path
  rev: v1.0.0
  hooks:
    - id: check-static-path
      args: ["-k=/home/tester"]

To look for this phrase in every file that has been changed

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages