문제

I have an openshift app running on my development account, now I want to merge this repo into my teammate's account that should handle the production.

The development app has the 1.0 version of the app as the runtime repo, the production app has just a brand new installation on another account. I would like to git merge the development repo into the production repo, into the other app in the other account. I have already administration privileges on the production one. I'm not a big expert in practical git but I know quite well the command for daily tasks, so a little guidelines would be appreciated.

Simpler: I have to move an app from an openshift account(A) to another openshift account(B). How can I merge the repository in A with the repository in B?

What is the best deployment workflow to do that?

What are the git commands I have to run to make the repoA to be, first, a repoB's branch and then to merge it with repo(B)?

도움이 되었습니까?

해결책

Add the other repository as another remote (upstream maybe?) and then do a git rebase to pull that code into your repository. See this article for more information: https://www.openshift.com/kb/kb-e1006-sync-new-git-repo-with-your-own-existing-git-repo

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top