$ pwd
$ git config --global user.email "git@belincasgroup.by"
$ git config --global user.name "belincas server"
$ git config --global --list
user.name=belincas server
$ git config core.filemode false
$ whoami
$ git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
# modified: ajax_pages/formtreatment.php
# modified: local/components/newsite/feedBack/class.php
no changes added to commit (use "git add" and/or "git commit -a")
$ git add --all
$ git commit -m "Changes on production"
[master 35500b3] Changes on production
2 files changed, 4 insertions(+), 2 deletions(-)
$ git pull origin master
From bitbucket.org:newsite/git.belinkas
* branch master -> FETCH_HEAD
Already up-to-date.
$ git checkout --theirs .
$ git commit -am "Remote Conflict"
# On branch master
# Your branch is ahead of 'origin/master' by 1 commit.
# (use "git push" to publish your local commits)
nothing to commit, working directory clean
$ git push origin master
To git@bitbucket.org:newsite/git.belinkas.git
d3830f5..35500b3 master -> master
$ git submodule sync
$ git submodule update
$ git submodule status
$ touch execafterdeploy.php
$ cat execafterdeploy.php