开发者

Drush workflow with git

开发者 https://www.devze.com 2023-02-12 01:16 出处:网络
I\'ve read that when updating Drupal modules with Drush you should first delete the module so that there aren\'t any orphaned files that could end up causing 开发者_运维百科problems. Is there an autom

I've read that when updating Drupal modules with Drush you should first delete the module so that there aren't any orphaned files that could end up causing 开发者_运维百科problems. Is there an automated way to do this with some of the Drush command arguments? I see that some of the SVN related arguments look promising but I'm using git.

Any ideas?


I cannot confirm it by reading the Drush code, but I am pretty sure that Drush handles this by itself. It will move the old module directory into a backup-directory and then check out an entirely new version from the Drupal repository.

0

精彩评论

暂无评论...
验证码 换一张
取 消