<p>drush pm-update It supposed to do everything. But for my case it does not. It only shows the list of all modules those need to be updated. It does not download new codes. So what I did? I've first disabled the module drush pm-disable xyz It can cause to disable all the dependent modules. I kept the name of these modules also.
If you have done so many unnecessary changes in different files and now you want to discard all the changes ( before working at cool mind ) : git reset --hard Another most used command that is very useful when did commit but that was a mistake. What will you do?