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

    $ echo $PWD
/var/www/bitrix/data/www/lode.by
$ git config --global user.email git@lode.by

$ git config --global user.name "lode server"

$ git config --global --list
user.email=git@lode.by
user.name=lode server
$ whoami
bitrix
$ git add --all

$ git commit -m "Changes on production"
# On branch master
nothing to commit, working directory clean
$ git pull origin master
From bitbucket.org:newsite/git.lode.by
 * branch            master     -> FETCH_HEAD
Already up-to-date.
$ git checkout --theirs .

$ git commit -am "Remote Conflict"
# On branch master
nothing to commit, working directory clean
$ git push origin master
Everything up-to-date
$ git submodule sync

$ git submodule update

$ git submodule status

$ git submodule status

$ git submodule status