Working with repositories
Let's get our hands dirty!
If you are reading this book, you are probably a programmer, as I am. Using a programming language and its source and binary files to exercise could be fine. However, I don't want to distract you from understanding a language you probably don't use every day. So, let's settle things once and for all. When needed, I will use a nice markup language called Markdown (see http://daringfireball.net/projects/markdown/).
Apart from being simple yet powerful, Markdown silently became the favorite choice while typing readme
files (for example, GitHub uses it extensively) or comments in forums or other online discussion places, such as StackOverflow. Mastering it is not our goal, but to be able to do the basic things is surely a skill that can be useful in the future.
Before you proceed, create a new folder for exercises, for example, C:\Repos\Exercises
. We will use different folders for different exercises.
Unstaging a file
Consider the following scenario...