Answer the question
In order to leave comments, you need to log in
How to set up automatic paging of commits?
Hello.
Tell me, please, how to make automatic download of new commits?
Example:
There are 2 test / production servers and 2 dev / master branches, respectively. We work with dev, make commits, merge dev with master, and we need changes to appear on the combat one immediately. What is it configured with?
Didn't find anything on google.
Answer the question
In order to leave comments, you need to log in
Git Hooks https://git-scm.com/book/en/v2/Customizing-Git-Git... There
are client and server hooks. Can be performed before and after almost any action with the repository. You most likely need a post receive hook.
The hook itself is just a script in any language supported by the OS, when launched, it will receive some information about the event as arguments, based on which you can validate the operation and perform any other actions.
There is such a thing HOOKIES
There are own buns for this on bitbucket. The essence is similar, they are easy to set up and work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question