GitXplorerGitXplorer
y

git-pull-hook

public
1 stars
0 forks
2 issues

Commits

List of commits on branch master.
Unverified
edbc29f269efbdea799809fa5a1ae20cddb6d208

#2 added notification if hook is not found.

yyxliang01 committed 8 years ago
Unverified
f90022113c2196dfce80ca69606e53ed969f999b

removed synchronize(not being used) from dependencies to fix build error

iinvalid-email-address committed 8 years ago
Unverified
ef34e2a09f7ce72c2c999119a4752b6dc17fc526

now we can continue the operations even has some failures (by prompting user) and now it checks whether hooks exist for node module(do nothing if not)

iinvalid-email-address committed 8 years ago
Unverified
23e9a207fab6a5f2e0f3e4826a2e6621ce80ac51

changed name to git-pull-hook (git with pull is a very common name!)

yyxliang01 committed 8 years ago
Unverified
5b0aea2791da96273d07dd2421f62774ca35c619

modify code to original one (the more readable one)

yyxliang01 committed 8 years ago
Unverified
604f42125acbb146ce402835125c6eef6abf0a47

updated codeclimate file and reduce redundancy

yyxliang01 committed 8 years ago

README

The README file for this repository.

git-pull-hook

Build Status Dependency Status Code Climate NSP Status npm version

For npm(node) modules directories

gitp ARGUMENTS_FOR_GIT_PULL = npm run prepull && git pull ARGUMENTS_FOR_GIT_PULL && npm run postpull

gitp ARGUMENTS_FOR_GIT_PULL will execute your defined npm scripts prepull before executing git pull ARGUMENTS_FOR_GIT_PULL, then npm run postpull. If one of the steps fails, it will stop.

To install:

npm install -g git-pull-hook

To Use:

# Go to your git repository (via cd) 

gitp ARGUMENTS_FOR_GIT_PULL

# Wait for prompts
# When it has finished, it will prompt you "done!"