$ pwd
/home/belincas/public_html
$ git config --global user.email "git@belincasgroup.by"
$ git config --global user.name "belincas server"
$ git config --global --list
user.email=git@belincasgroup.by
user.name=belincas server
$ git config core.filemode false
$ whoami
belincas
$ 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: include/information/body.php
#
no changes added to commit (use "git add" and/or "git commit -a")
$ git add --all
$ git commit -m "Changes on production"
[master 599a1e5] Changes on production
1 file changed, 2 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
a93faa1..599a1e5 master -> master
$ git submodule sync
$ git submodule update
$ git submodule status
$ touch execafterdeploy.php
$ cat execafterdeploy.php