O'Reilly logo

WordPress 3 Plugin Development Essentials by Everett Griffiths, Brian Bondari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding files

The normal workflow is that we add files to our local working copy before they get added to the repository. Our local working copy is like the launch-pad where we rocket our code into that far away repository. You probably already have files sitting in a folder somewhere that you're dying to bring under version control, but first we are going to try this out using some test files, just to make sure that it will work. Hey, the Russians blasted Laika the dog into space aboard Sputnik 2 long before they tried it with a human being.

To begin, try saving a copy of a file into your working copy folder. We're naming this file laika.php. The process here is always going to be two-part: you do your regular coding work, and then you come back ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required