This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# https://git-scm.com/docs/githooks | |
# | |
# This is hook that updates composer | |
# if branch change included change in composer.json | |
# | |
# additionally, if vendor dir is under (separate!) git repo, | |
# the result can be speed up by switching and keeping git branch up to date | |
# there as well. |