In reply to by Steffen (not verified)

Permalink

Hi Steffen,

You need to make sure that your $D7_GIT_REPO and $D7_DRUPAL_ROOT paths are in two different locations. The git repo should be in one directory, and your site build takes place in another. That way you won't end up wiping out your git repo when you run the rebuild.

You might also look into using [Drush Rebuild](https://drupal.org/project/rebuild) for implementing a rebuild workflow with Drush make.

Good luck!

Kosta

Restricted HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <h2 id> <h3 id> <h4 id> <h5 id> <h6 id>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.