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

    $ echo $PWD
/home/bitrix/www
$ 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.maunfeld.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
No submodule mapping found in .gitmodules for path 'local/modules/citfact.form'
Synchronizing submodule url for ''
$ git submodule update
No submodule mapping found in .gitmodules for path 'local/modules/citfact.form'
$ git submodule status
No submodule mapping found in .gitmodules for path 'local/modules/citfact.form'