Skip to content

TheSyscall/no-commit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No-Commit

Make sure you never commit things you didn't mean to.

no-commit is a handy tool to scan your files before trying to commit them, to a git repository.

It will not let you commit files that contain the strings

  • "no-commit"
  • "no-checkin"

Installation and usage

Using pre-commit you can install and run no-commit on every attempted commit.

Simply add this to your .pre-commit-config.yaml

  - repo: https://github.com/thesyscall/no-commit
    rev: 1.0.0
    hooks:
      - id: no-commit
        exclude: .pre-commit-config.yaml

About

no-commit is a handy tool to scan your files before trying to commit them to a git repository.

Topics

Resources

Stars

Watchers

Forks

Languages