Skip to content

Simple shell script to copy files from /hooks to git hooks

License

Notifications You must be signed in to change notification settings

IskrenStanislavov/copy-hooks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

copy-hooks

Easily copy hooks to the git hooks. Works with bare repositories as well.

How it works?


| .git/
|   branches/
|   config
|   description
|   HEAD
|   hooks/ <-- to here
|     applypatch-msg.sample
|     pre-applypatch.sample
|     pre-commit.sample
|     (...)
|   index
|   (...)
| hooks/ <-- copy everything from here
|   pre-commit
|   post-commit
|   (...)
| src/
| (...)

Author

Created by Breno Salles.

License

This repository is licensed under MIT License.

About

Simple shell script to copy files from /hooks to git hooks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%