-
Book Overview & Buying
-
Table Of Contents
CMS Made Simple Development Cookbook
Git is a feature-rich system, and has entire books documenting its uses. Unless you're creating a project as large and complex as the Linux kernel, however, you probably won't need to understand everything that Git can do.
This recipe demonstrates some typical approaches to using Git for managing a small project.
You will need to have your Git repository set up, with your project already committed into it. You will need to have set up a remote repository on the CMS Made Simple Developer's Forge. For the sake of this recipe, we'll say we're working on a mapping module, that has the UNIX name "ajaxmaps", and we're just starting the development of version 1.1 of the module.
1. Make sure you are in your module's directory:
cd modules/ajaxmaps
2. Merge in any changes from the remote repository to your local master branch by typing the following command:
git pull origin
3. Create a working branch:
git branch version1.1
4. Check out...
Change the font size
Change margin width
Change background colour