Mirroring your repo
We want to go on to discuss notes, but to do so we need to take a digression into mirroring our repository so that we can add notes without messing up our existing repo.
The repository we want to mirror should have a fair number of commits. You may remember from the previous chapter that I answered the challenge by creating a repository called RockyHorror
. Let's open that repo on our local machine and use the log to see the commits:
Figure 7.1: What's in the existing repository?
Note: You are not going crazy: for this chapter I've switched from PowerShell to the Bash shell.
Replicating an existing repo
As you can see there are nine commits, which will be enough for our purposes. However, I don't want to modify this repository (principally so that when you download the code it will look right when you are reading Chapter 6, Interactive Rebasing).
To get an exact copy of this repository into another, complete...