8000 GitHub - raunakpilani/git_hooks: helpful git hooks to prevent basic nonsense from happening
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

raunakpilani/git_hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

git hooks

pre-commit:

  • does not let a commit to be made to master
  • does not let a commit go ahead if there is a syntax error in *.rb (make sure you dont have a branch/head-commit containing .rb in it!)

pre-push:

  • does not let allow a push to master
  • does not let allow a push from master

usage: cp <hook_filename> <destination_repo_path>/.git/hooks/

About

helpful git hooks to prevent basic nonsense from happening

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0