Publish yii webapp using Git push

Comparing #1 with #3

Content

## Warning ## I did not invent this instructions, I read it somewhere and re-organize itd in my way as I was trying and it works for me; Assuming server is Ubuntu Linux; If you have dynamic files uploaded by user or sqlite as database, **PLEASE donwnload them first** before you git push to publish, if you lose them by using this instruction, don't come back to blame on me! I am not an expert on git nor in server security, use theis instructions at your own risk;

## [on server] - install git, nothing fancy just basic
[...]
```

under "/var/www/app-root/private" create file .htaccess (double secure in case accident happen
ds)
[...]
## [on local] - prepare for git push

modify or add the foll
wowing content to /app-root/.git/config
[...]
```php
git push pro
uduction master ``` enjoy!