Skip to content

toHero/git-hooks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-hooks

https://support.tohero.fr/projects/public/wiki/Git_Hooks

Prerequisite

In order to run correctly, git-hooks need Python and in case it's missing you must run

sudo apt install python

Install

Run as normal user:

git clone --depth=1 git@github.com:toHero/git-hooks.git /tmp/tohero-git-hooks >/dev/null 2>&1 && \
/tmp/tohero-git-hooks/scripts/install.sh && \
rm -rf /tmp/tohero-git-hooks

Uninstall

Run as normal user:

/usr/local/share/tohero/git-hooks/scripts/uninstall.sh

Update

Run as normal user:

cd /usr/local/share/tohero/git-hooks && \
git pull

Initialise hooks in existing repository

Run as normal user in the reposiroty to initialise:

/usr/local/share/tohero/git-hooks/scripts/init-repo.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages