Skip to content

Migrating from subversion to git

technicalpickles edited this page Aug 19, 2010 · 3 revisions

Beyond doing the actual migration from subversion to git, there are a few steps you need to do to clue in moonshine to this fact.

First, you need to update your config/moonshine.yml to specify your using git now, and to point at your git repository:

:scm: git
:repository: [email protected]:yourusername/yourawesomeproject.git

With that in place, you need to get the appropriate version control packages installed. There’s a convenient capistrano task just for this:

cap vcs:install

… or if you are using a multistage setup:

cap staging vcs:install
cap production vcs:install

With this done, you can git commit and push your changes of config/moonshine.yml, and can then cap deploy as normal.

Clone this wiki locally