Git Deployment Script

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

2017-08-18 12:47:04

$whoami
www-data

2017-08-18 12:47:04

$git fetch --all
Fetching origin

2017-08-18 12:47:06

$git reset --hard origin/master
HEAD is now at 64c5aac Optimization v1 new (#46)

2017-08-18 12:47:06

$git pull


2017-08-18 12:47:07

$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) gitdeploy.php nothing added to commit but untracked files present (use "git add" to track)

2017-08-18 12:47:07