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.
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