Git Deployment Script

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

2017-08-18 12:45:05

$whoami
www-data

2017-08-18 12:45:05

$git fetch --all
Fetching origin

2017-08-18 12:45:10

$git reset --hard origin/master
HEAD is now at f6e8a91 修复输入框bug

2017-08-18 12:45:11

$git pull
Already up-to-date.

2017-08-18 12:45:13

$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-08-18 12:45:13