Skip to content

codeclarified/git-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

#Pre-commit PHP Lint

Requires phpcs and WordPress-VIP code standards: https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards

  • Create directory mkdir ~/.git_template/hooks
  • Place or symlink pre-commit in this directory
  • Make script executable chmod +x pre-commit
  • Run git config --global init.templatedir '{home_directory}/.git_template' to set this directory as a global git template, this will apply this template to any new repos
  • Run git init on any existing repos to apply template to repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published