I'm setting a hook, and want to do some pull and push operations.
Here is my scenario:
- I have a repository, and in this repository there is only one user, me
- I have a second repository with a lot of users that can read/write
- Everytime I commit to the first repo, under the Homolog or Prod branch, I want to make a pull of this branch and push it to the second repository, under the same branch (creating it, if it does not exists)
Is that possible? There is some example or documentation on how to achieve it?