. ____ . ____________________________
|/ \| | |
[| ♥ ♥ |] | Git Deployment Script v0.1 |
|___==___| / © oodavid 2012 Newsite.by |
|____________________________|

    $ echo $PWD
/home/bitrix/www
$ whoami
bitrix
$ git add --all
fatal: Not a git repository (or any of the parent directories): .git
$ git commit -m "Changes on production"
fatal: Not a git repository (or any of the parent directories): .git
$ git pull origin master
fatal: Not a git repository (or any of the parent directories): .git
$ git checkout --theirs .
fatal: Not a git repository (or any of the parent directories): .git
$ git commit -am "Remote Conflict"
fatal: Not a git repository (or any of the parent directories): .git
$ git push origin master
fatal: Not a git repository (or any of the parent directories): .git
$ git submodule sync
fatal: Not a git repository (or any of the parent directories): .git
$ git submodule update
fatal: Not a git repository (or any of the parent directories): .git
$ git submodule status
fatal: Not a git repository (or any of the parent directories): .git