Skip to content

Instantly share code, notes, and snippets.

@quimic-gist
Created December 15, 2014 09:23
Show Gist options
  • Save quimic-gist/a01eedfbe959dbc1fabb to your computer and use it in GitHub Desktop.
Save quimic-gist/a01eedfbe959dbc1fabb to your computer and use it in GitHub Desktop.
Drupal:Manage modules with git and keep version in info file
# download git version of drupal moodule to be patched, while keeping version in info file
drush pm-download module_name --package-handler=git_drupalorg --gitinfofile
# apply patch
git apply -v path/file.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment