By Ryan on March 10, 2010
You probably already figured this one out if you use git. But if you’re new to all of those awesome git tricks, well, here you go.
I always forget to checkout the branch I just created, so having it wrapped up in a single command is absolutely perfect.
git checkout -b [name of new branch]
That takes care [...]
Posted in Tips | Tagged branch, checkout, create, git
By Ryan on August 5, 2009
I was working with cake php recently and I came across these three errors:
Warning (512): Cache not configured properly. Please check Cache::config(); in APP/config/core.php [CORE\cake\libs\configure.php, line 663]
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE\cake\libs\configure.php, line 684]
Warning (2): array_merge() [function.array-merge]: Argument #1 is not an array [CORE\cake\libs\configure.php, line 691]
What could’ve caused this? What was [...]
Posted in PHP | Tagged cache, CakePHP, Error, git
By Ryan on February 10, 2009
If you’re new to Git or need a refresher every now and then, you should get a cheatsheet. These handy things are great to help you remember that you need to type git add . before you type git commit or that you could do those both with just git commit -a.
I found two excellent [...]
Posted in Tips | Tagged cheat, git, refresher, scm, sheet