6
In this section, I use the Brackets-Git extension to create the lab-01-website discussed in a theoretical manner in section 2.2.1.
I will go through this process as a fully worked example demonstrating branching, merging and conflict resolution.
Broadly, I will use Brackets-Git to do the following:
Create a new repository on a local machine
Create the initial website and add it to the repository
Create new branches to develop additional web pages
Merge these branches back into the master branch
Explain how to resolve conflicts
Tagging commit points
This section deals entirely with a local repository on a single PC. In subsequent sections I expand this website and incorporate it into a remote repository to demonstrate how Brackets-Git can manage remote as well as local repositories.
Some of what I do here is similar to what I did in the previous chapter—that however was just an introduction. This is a fully worked example and covers Brackets-Git in much more detail.