OpenShift uses GIT for the internal repo, however, you might have existing projects which are on SVN which you want to deploy into OpenShift but yet to have chance to migrate it to GIT (or for some reason, couldn't). So how do you approach this?.
The simplest trick around is, to have a GIT+SVN combined directory to work on. Here's the quick steps:
The simplest trick around is, to have a GIT+SVN combined directory to work on. Here's the quick steps:
- Checkout/clone both the project SVN and OpenShift GIT repository into 2 separate directories.
- Copy .git directory from OpenShift GIT clone into the SVN checkout directory.
- Done.