I have two local branches:
- master
- development
and 3 remotes:
- git1 with master and development (same as local)
- git2 with master only (equals local master)
- git3 with master only (equals local development)
What I want to do is pushing (preferably with GitKraken) the following, each at once:
- local:master -> git1:master, git2:master
- local:development -> git1:development, git3:master
How can I do this?
I´ve already set up remotes with multiple URLs in git config:
[remote "git1_git2"]
url = git1_url
url = git2_url
[remote "git1_git3"]
url = git2_url
url = git3_url
But how can I specify the branches it pushes to for the different urls?
From which remote does it pull when I pull from a multiple url remote?