Page Archive

Git shortcuts

  • Posted on: 7 December 2018
  • By: stillfinder

Sometimes it's too tedious and boring to type-in something like 'git commit -a -m' 50 times per day. In this case the shell or the git aliases can be the solution.

Useful drush commands

  • Posted on: 5 December 2018
  • By: stillfinder

From http://docs.drush.org:

Drush is a command line shell and Unix scripting interface for Drupal. Drush core ships with lots of useful commands for interacting with code like modules/themes/profiles. Similarly, it runs update.php, executes sql queries and DB migrations, and misc utilities like run cron or clear cache.

Rebuild Drupal cache

../vendor/bin/drush -l my-site.com cache-rebuild