____________________________
|                            |
| Git Deployment Script v0.1 |
|      github.com/riodw 2017 |
|____________________________|

$ echo $PWD
/var/www/bx58741/data/www/holod.danfoss.ru
$ whoami
bx58741
$ git reset --hard HEAD
HEAD is now at 788c889 Merge branch 'new_basket' of github.com:joltiy/holod_danfoss into new_basket
$ git pull
Already up-to-date.
$ git status
# On branch new_basket
# Untracked files:
#   (use "git add <file>..." to include in what will be committed)
#
#	222.png
#	3333.png
#	bitrix/admin/blog_smile.php
#	bitrix/admin/blog_smile_edit.php
#	bitrix/admin/composite_diff.php
#	bitrix/admin/composite_diff_source.php
#	bitrix/admin/composite_log.php
#	bitrix/admin/composite_pages.php
#	bitrix/admin/exec_restore.php
#	bitrix/admin/iblock_sub_generator.ajax.php
#	bitrix/admin/iblock_subelement_generator.php
#	bitrix/gadgets/bitrix/admin_network/lang/ua/
#	bitrix/js/fileman/google/
#	bitrix/js/fileman/userfield/
#	bitrix/js/main/amcharts/3.21/lang/ru/
#	bitrix/js/main/core/core_user.js
#	bitrix/js/main/core/core_user.map.js
#	bitrix/js/main/core/core_user.min.js
#	bitrix/js/main/core/resize_observer/
#	bitrix/js/main/gridtile/
#	bitrix/js/main/masked_input.js
#	bitrix/js/main/masked_input.map.js
#	bitrix/js/main/masked_input.min.js
#	bitrix/js/main/phonenumber/
#	bitrix/js/main/sidepanel/
#	bitrix/js/scale/action.map.js
#	bitrix/js/scale/action.min.js
#	bitrix/js/scale/actionprocessdialog.map.js
#	bitrix/js/scale/actionprocessdialog.min.js
#	bitrix/js/scale/actionresultdialog.map.js
#	bitrix/js/scale/actionresultdialog.min.js
#	bitrix/js/scale/css/scale-page-style.min.css
#	bitrix/js/scale/role.map.js
#	bitrix/js/scale/role.min.js
#	bitrix/js/scale/server.map.js
#	bitrix/js/scale/server.min.js
#	bitrix/js/ui/
#	bitrix/php_interface/dbconn.restore__.php
#	bitrix/php_interface/dbconn2.php
#	bitrix/tools/phone_number.php
#	currency_24.10.2017.txt
#	gif.gif
#	header.png
#	import/currency_01.01.2018.txt
#	import/currency_02.01.2018.txt
#	import/currency_03.01.2018.txt
#	import/currency_04.01.2018.txt
#	import/currency_05.01.2018.txt
#	import/currency_06.01.2018.txt
#	import/currency_07.01.2018.txt
#	import/currency_08.01.2018.txt
#	import/currency_09.01.2018.txt
#	import/currency_10.01.2018.txt
#	import/currency_11.01.2018.txt
#	import/currency_12.01.2018.txt
#	import/currency_13.01.2018.txt
#	import/currency_14.01.2018.txt
#	import/currency_15.01.2018.txt
#	import/currency_16.01.2018.txt
#	import/currency_17.01.2018.txt
#	import/currency_18.01.2018.txt
#	import/currency_19.01.2018.txt
#	import/currency_20.12.2017.txt
#	import/currency_21.12.2017.txt
#	import/currency_22.12.2017.txt
#	import/currency_23.12.2017.txt
#	import/currency_24.12.2017.txt
#	import/currency_25.12.2017.txt
#	import/currency_26.12.2017.txt
#	import/currency_27.10.2017.txt
#	import/currency_27.12.2017.txt
#	import/currency_28.12.2017.txt
#	import/currency_29.12.2017.txt
#	import/currency_30.12.2017.txt
#	import/currency_31.12.2017.txt
#	import/import_backup_old.csv
#	import/import_l.csv
#	import/import_old.csv
#	import/log_check_param.txt
#	import/log_number_line.txt
#	import/result_modifier.php
#	llzmail.png
#	product_update_xml.txt
#	sitemap.txt
#	sitemap.xml
#	sitemap_files.xml
#	sitemap_iblock_10.xml
#	sitemap_iblock_11.xml
#	sitemap_iblock_12.xml
#	sitemap_iblock_13.part1.xml
#	sitemap_iblock_13.xml
#	sitemap_iblock_17.xml
#	sitemap_iblock_3.xml
#	top.png
nothing added to commit but untracked files present (use "git add" to track)
$ git submodule sync

$ git submodule update

$ git submodule status