Posts in: GIT

Create database for branch and phpunit

0 comments / April 24, 2019

Whenever I work on a new branch, I find it useful to have a unique table for the branch and for my testing purposes. Lets assume we have three tables denoted in our `.env` file like that: DB_CONNECTION = mysql_local DB_DATABASE = mastertable DB_DATABASE_BRANCH = branchtable DB_DATABASE_TEST = testtable

Gitignore Pattern Explained

0 comments / March 29, 2019

Rules You find these rules in more depth explained in the official docs. foo/ matches any folder foo (in any folder inside your git worktree), but no file foo or foo.txt foo matches any folder foo and file foo (in any folder inside your git worktree) but not files that contain the string, like foo.txt