Fundamentals of Version Control
Jekyll is the static site generator that we focus on throughout this book. It is the most popular static generator in use today, with plenty of features to create a fully functional blog. This chapter begins the process of understanding the prerequisites for using Jekyll. We focus on how Jekyll parses source files to create static pages, the need to learn Markdown, the basics of version control, and an introduction to Git. These concepts and components are the backbone of Jekyll and we will be using them regularly in projects. The main focus of this chapter is version control because it becomes crucial in managing all the code associated with Jekyll projects. One of the best version control tools available is Git. We introduce Git and provide a walkthrough of the terminology and commands used in Git. We start by talking about Jekyll as a converter, and then move to using Markdown and writing posts in it. After that, we discuss version control in depth and present a few minitutorials on how to use Git. Finally, we end the chapter with a brief explanation of developer workflow and the advantages of adopting one for a Jekyll-powered blog.