Can I use my existing git repo with openshift?

前端 未结 11 870
野的像风
野的像风 2020-11-28 17:36

Is it necessary to have git repo on openshift only? I already have bitbucket / github git repo and would prefer to push there only. Can I simply hook into it so that openshi

11条回答
  •  执笔经年
    2020-11-28 17:50

    From you project folder, do

    git remote add backup user@server:/path/to/git/test.git
    git push backup master
    

    You can read Pushing to two git remote origins from one repository and Changing git remote origin.

提交回复
热议问题