I want to add one more way how to download specific dev version of Drupal module:
“Drush make” method
Create make file for Drush (for example myMakeFile.make
) and paste into it following:
api = 2
core = 7.x
projects[drupal][version] = 7.30
projects[geocoder][version] = "1.x-dev"
projects[geocoder][download][type] = "git"
projects[geocoder][download][url] = "https://git.drupal.org/project/geocoder.git"
projects[geocoder][download][revision] = "2ffd3fa8b22c11100516bf801bc08ba729cc8a68"
Type into shell:
cd
mkdir removeMeWhenDone
mv myMakeFile.make removeMeWhenDone
cd removeMeWhenDone
drush make myMakeFile.make -y
Desired dev version of the Geocoder module is located in ~/removeMeWhenDone/sites/all/modules
, now.
More details about Drush make method + how to get commit hash here.