Skip to content
Permalink
Browse files
added not on sharing hooks
  • Loading branch information
aa7401 committed Nov 14, 2018
1 parent 56bad10 commit 8353fc501538181a0bbcecd06fc0cfb6fa648250
Showing 1 changed file with 8 additions and 0 deletions.
@@ -86,3 +86,11 @@ This week you are starting the development process. You are advised to use the `
13. Modify the `pre-push` hook to run the jest test suite with code coverage.

At this stage you can start building your system. Each time you commit code the linter will run. Each time you push your code it will run the unit tests.

## Sharing Git Hooks

By default the hooks directory contents are not part of the remote repository. T osolve this problem the following is recommended:

1. Create a `.githooks` directory in the root of your project.
2. Create your hooks in this directory (make sure they are executable).
3. Create a shell script to copy the contents of the `.githooks` directory into the `.git/hooks` directory.

0 comments on commit 8353fc5

Please sign in to comment.