Felix is a huge git fan and Git is a source version control application. It is a command line tool, and there are not many gui tools. Git has a few advantages, it is easier to integrate with other tools. Git also doesn't require a server, allowing you to work locally. Unlike svn there is only one .git folder and it contains the entire project history.
Before using git you should configure git with git config. You should configure your user name, user email and ui.color. Once you have configured git you are ready to go.
By using git add you can add single files, folders, whole trees. You then can use git commit to create a commit and add a commit message.
You cannot store empty folders in git. If you have any empty folders you need to put an 'empty' file in the folders.
find . -type f | grep -v empty | xargs git rm
Felix used the above to clear all the temp files but leave the empty files. This will let you add the tmp directory structure to the git repo and still keep the directories clean.
All objects in git are identified by SHA1. The SHA1 is used to identify commits, trees, and blobs. I also found it interesting that unlike SVN a git repo is very transparent. The commit SHA1's are actually the filenames in the repo. Although the contents of these files are compressed its nice to know there are files to look at instead of a pile of scary binary blobs.
.gitignore can be used to ignore files or paths. You should add files based on absolute paths from your project root. Normally with a cake setup you want to ignore app/tmp as well as your database.php. At this point Felix's excitement for git had to come to an end. His hour was up but I got the feeling that at least a few people had their interest in git increased.
With the first day of CakeFest Argentina at a close I'm looking forward to the rest of the talks as today was an excellent start to what is shaping up to a great festival.
If you are a CakePHP developer looking to ease the burden of development, then this book is for you. As a headfirst dive into the framework, this collection of recipes will help you get the most out of CakePHP, and get your applications baked in no time. Even if you're not familiar with the framework, we'll take you from basic CRUD building to useful solutions that will aid in getting the job done quickly and efficiently.
CakePHP ORM 3.0 Unleashes New, Flexible, and Powerful Functions
Written by Megan on July 25, 2016
How CakePHP can boost your organization's productivity while saving you money
Written by Megan on July 7, 2016
Migrating to CakePHP 3.0 is Easy and Painless
Written by Megan on June 30, 2016
10 guidelines to outsourcing web development
Written by Megan on June 22, 2016
CakePHP - An Open Source Framework With Many Benefits
Written by Megan on June 16, 2016