How to Automatically Update Another Git Repository After Push

Git hooks are basically glorified shell scripts that execute before or after certain Git operations complete, allowing you to customize the behavior of Git.

The post-receive hook executes when a repository receives changes via a git push from another repository. One clever use of this hook is to automatically update another repository when the origin repository receives changes…

Source: merecommentary.com

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>