Challenge
Create a local copy of Panofy
. Add a note to one of the commits and ensure it is there. Add a tag to one of the commits and make sure it is there. Finally, change which commit the tag is pointing to.
Here is my answer:
First, switch directory to Panofy
. If it is not on your local machine, clone it:
Figure 7.17: Switching to the Panofy project
As shown in Figure 7.17 when I tried to change directory to Panofy
I was told it doesn't exist, so I cloned it from the server.
To create a mirror I first create a new repo on the server named Panofy2
:
Figure 7.18: Mirroring
As you can see in Figure 7.18, this time I did not bother creating a license file as all of this will be overwritten when I mirror Panofy over it. To do so I change directory to Panofy (the original repo) and enter:
git push ––mirror https://github.com/JesseLiberty/Panofy2.git
This takes the repository I'm in (Panofy
) and pushes it to the new...