更新时间:2023-09-21 11:45:52
根据您的编辑进行假设您只想迁移代码而不是盒带,最简单的解决方案是简单地将目标域添加为新的远程站点到您的git配置.
Edit based on your edit: Assuming you only want to migrate the code and not cartridges, the easiest solution would be to simply add the target domain as a new remote to your git config.
为目标应用/域添加新的git remote
:
Adding a new git remote
for your target app/domain:
$ git remote add domain2 ssh://target-giturl
$ git push domain2 master
此外,如果您想重命名域:
$ rhc domain rename Old_Domain_Name New_Domain_Name