Globally ignore Drupal development modules
It's common to have development-only modules in Drupal that should not be committed to the repository, and clutter up every git status
call. Depending on your project structure they could be placed in different folders, so the following rule pattern in a global ignore file should handle them:
**/sites/*/modules/**/devel
**/sites/*/modules/**/xhprof
**/sites/*/modules/**/stage_file_proxy
Example Paths
All of the following (Drupal 7) paths should be ignored:
sites/all/modules/devel
sites/all/modules/contrib/devel
sites/default/modules/contrib/devel
docroot/sites/all/modules/contrib/devel
Written by Geoff
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Drupal
Authors
Related Tags
#drupal
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#