O'Reilly logo

Catalyst 5.8 by Antano Solar John

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

Versioning code

If you do not know already, it is always a good practice to version control your code. A version control system (VCS) brings in the following benefits:

  • You can go back in time and check any code
  • Allow multiple developers to work on the same code base and manage conflicts
  • Document changes to specific code releases/commits
  • Easier management of production code updates.

There are many VCS available. I personally recommend using Git.

You can read more about Git at http://git-scm.com/documentation.

Following is a quick summary on the basics of Git:

Initializing

Once you have created a Catalyst application or any folder that you want to version control, you need to first initialize it as a Git repository. This can be done with git init.

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