GIT add additional external repositories
I have connect my Project via VCS to openshift. If I push some changes, it will become active directly.
This Project, is an open-source-Project, which is hosted on GitHub. Now I wan't to contribute the Opensource-Project, so I need to switch orgin-master to github. But I wan't to be able to push changes to github AND openshift.
Whats the way to manage the vcs-connections to be able to push and fetch from both external servers?
请先登录再写评论。
You're able to select a remote you want to use for pushing in the Push window:
So just run git remote add %originname% %originurl% in the project directory.
I just hope that I have understood you right.
I know, where I can see or select the external servers, but how can I add one... instead of using cli :
```
git remote add origin2 git@asdfasdf...
```
There's no way of doing so currently, please vote: https://youtrack.jetbrains.com/issue/IDEA-87099