exlant
5/2/2019 - 11:34 PM

git commands

### восстановление после удаления ветки, коммитов, случайного перетирания
git reflog
git reset --hard reflog_hash
git push -f origin branch

### не индексирует изменение разрешения файлоф 
git config core.fileMode false

git config user.name "Your Name Here"
git config user.email your@email.com

git submodule add git@github.com:ninazu/framework.git ./vendor/ninazu/framework

cd ./vendor/ninazu/framework
git submodule update --init --recursive
git submodule update --recursive --remote

#Указать путь к подмодулю
#File -> Settings -> Version Control -> Add -> Directory