Skip to content

redSlug/git_playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

git_playground

An exploration of re-writing example git hooks in Python

Setup

Run .setup.sh from the root of an initialized git repo with the git-hooks directory copied to the root

Scripts

pre-commit.py

pre-commit.sample re-written in Python

Test Cases

  1. set git config --bool hooks.allownonascii false, add a non-ascii file, hы.txt and notice error message
  2. add white spaces and extra lines to end of files and notice error messages

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published