Skip to content

Instantly share code, notes, and snippets.

@yii2-developer
Last active February 6, 2016 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yii2-developer/02df769125a7b80fefdd to your computer and use it in GitHub Desktop.
Save yii2-developer/02df769125a7b80fefdd to your computer and use it in GitHub Desktop.
#!/bin/bash
set -eu
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
BASE_DIR=/var/www/yiiframework
GIT='/usr/bin/git'
cd $BASE_DIR
$GIT pull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment