https://github.com/barryvdh/laravel-ide-helper
php artisan clear-compiled && php artisan ide-helper:generate && php artisan ide-helper:models --nowrite && php artisan ide-helper:meta
https://github.com/barryvdh/laravel-ide-helper
php artisan clear-compiled && php artisan ide-helper:generate && php artisan ide-helper:models --nowrite && php artisan ide-helper:meta
#!/bin/bash | |
export PATH=/bin:/usr/bin:/usr/local/bin | |
TODAY=`date +"%Y_%m_%d__%H_%M_%S"` | |
DB_BACKUP_PATH='/your/database/backup/folder' | |
MYSQL_HOST='localhost' | |
MYSQL_PORT='3306' | |
MYSQL_USER='db_user_name' | |
MYSQL_PASSWORD='db_user_password' |
Let's say there are two branches: master
and feature-one
.
There are some files that you want in the master
branch from the feature-one
branch but not all the files.
Let's say those files are:
app/Models/User.php
app/Controllers/UsersController.php
You can accomplish that by doing the following: