Git Deployment Script

$echo $PWD
/var/www/html/home4/orienta6/public_html/dev/beitang_road

2018-01-24 03:41:58

$whoami
www-data

2018-01-24 03:41:58

$git fetch --all
Fetching origin

2018-01-24 03:42:03

$git reset --hard origin/master
HEAD is now at 8339ea0 add document (#75)

2018-01-24 03:42:04

$git pull
Already up-to-date.

2018-01-24 03:42:06

$git status
On branch master Your branch is up-to-date with 'origin/master'. Untracked files: (use "git add <file>..." to include in what will be committed) beitang_app/www/system_beitang_road gitdeploy.php system_beitang_road/beitang_2017-06-17.sql system_beitang_road/public/gitdeploy.php nothing added to commit but untracked files present (use "git add" to track)

2018-01-24 03:42:06