. ____ . ____________________________ |/ \| | | [| ♥ ♥ |] | Git Deployment Script v0.1 | |___==___| / © oodavid 2012 | |____________________________| $ pwd /home/bitrix/www $ git config --global user.email "git@pan.by" $ git config --global user.name "git pan.by prodaction" $ git config --global --list user.email=git@pan.by user.name=git pan.by prodaction $ whoami bitrix $ git add --all $ git commit -m "Changes on production" [master 0e328b7f] Changes on production 2 files changed, 85 insertions(+), 81 deletions(-) $ git pull origin master Unauthorized fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. $ git checkout --theirs . Updated 0 paths from the index $ git commit -am "Remote Conflict" On branch master Changes not staged for commit: (use "git add <file>..." to update what will be committed) (use "git restore <file>..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules) modified: local/modules/wt.core (modified content) no changes added to commit (use "git add" and/or "git commit -a") $ git push origin master Unauthorized fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. $ git submodule sync Synchronizing submodule url for 'local/modules/wt.core' Synchronizing submodule url for 'local/templater.dev/kit' $ git submodule update $ git submodule status 67690a6379eda35c307e8f4e7872f157f6c82d24 local/modules/wt.core (v1.2-66-g67690a6) fd6ac757581d3c5951c8e3b9b40df8c3e265a814 local/templater.dev/kit (remotes/origin/HEAD-1-gfd6ac75)