This project is not covered by Drupal’s security advisory policy.

This simple drush script will automatically detect when you "drush dl" a project into a folder that is in a git repository, then asks if you want to commit and push it.

Usage

To use, simply answer "yes" when you download a module, or enter -y as an option

  $ drush @mysite dl captcha
  
  Project captcha (7.x-1.0-beta2) downloaded to /path/to/mysite.com/sites/all/modules/contrib/captcha. 
  Git repository found in /path/to/mysite.com/
  # On branch master
  # Untracked files:
  #   (use "git add <file>..." to include in what will be committed)
  #
  #	sites/all/modules/contrib/captcha/
  nothing added to commit but untracked files present (use "git add" to track)
  
 Add to git repo and push? (y/n): y
  
  Pushed!
  To git@github.com:devudo/devudo.com.git 
     a57e5c4..ca96f1c  master -> master
  Project captcha contains 2 modules: image_captcha, captcha.

Installation

This being a drush module, you need drush. If you don't have drush, go get it
NOW at http://drupal.org/project/drush.

Once you have drush, install this like so:

  $ drush dl drush_dl_push
 

That's it! Have fun!

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Created by jon pugh on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases