. ____ . ____________________________
|/ \| | |
[| ♥ ♥ |] | 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

$ yarn deploy
yarn run v1.22.15
$ yarn install && webpack --mode production --config webpack/production.config.js && rm -rf ./local/assets/build/ && mv ./local/assets/pre-build ./local/assets/build
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
error svgo@2.8.0: The engine "node" is incompatible with this module. Expected version ">=10.13.0". Got "8.17.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.