I have 2 private repository (not branches) A
and B
of which I have full access to.
Whenever A
makes a commit, I want B
to cherry-pick
or merge
the new commit into it (assuming no merge conflicts), so that B
will always be up-to-date with the latest changes from A
.
How do I accomplish this with Git hook or something else?
A shell script is less flexible as it means you have to commit/push with command line rather than GUI (eg. with SourceTree).