Gitããã¯ããã¤ãã®ã¿ã¤ãã³ã°ã§å¥½ããªå¦çãããã¯ã§ããè³¢ãåã§ãã $GIT_DIR/hooksé ä¸ã«ã¿ã¤ãã³ã°ãã¨ã®ã¹ã¯ãªãããç¨æããã¦ãã¦ããããæ¸ãæãããã¨ã§ä»»æã®å¦çãè¡ããããã¨ãåºæ¥ã¾ã. ã¿ã¤ãã³ã°ãªã©ã®è©³ãã説æã¯man githooksã«æ¸ããã¦ãã¾ããï¼æåã«ãããè¦ã¦ããã°åã®æ°æéã¯å¤±ãããªãã£ãã®ã«ï¼ ä»åããããã£ãã®ã¯ããã¼ã«ã«ã§Webãµã¤ããããããã¾ããã¦ãæ°ã«å ¥ã£ããã³ããããã¦ãªã¢ã¼ãã«pushãããããã¨èªåçã«å ¬éç¨ã®ãã£ã¬ã¯ããªã§pullããã¨ãããã®ã§ãã ãã£ããã¨ã¯ããªã¢ã¼ãå´ã§ $ cat path/to/repos/hooks/post-receive #!/bin/sh (cd /path/to/site/directory; git --git-dir=.git pull) $ chmod +x path/to/repos/
{{#tags}}- {{label}}
{{/tags}}