Git Deployment Script

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

2017-10-24 06:39:04

$whoami
www-data

2017-10-24 06:39:04

$git fetch --all
Fetching origin

2017-10-24 06:39:07

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

2017-10-24 06:39:08

$git pull
Already up-to-date.

2017-10-24 06:39:10

$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)

2017-10-24 06:39:10