Запросить консультацию

GIT DEPLOYMENT SCRIPT

$ pwd
/home/bitrix/www
$ git config --global user.email "info@newsite.by
$ git config --global user.name "newsite server"
$ git config --global --list
user.name=newsite server
core.filemode=false
$ git config --global core.filemode false
$ whoami
bitrix
$ git status
# On branch master
nothing to commit (working directory clean)
$ 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.belagro.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
$ touch execafterdeploy.php
$ cat execafterdeploy.php