Answer
There is no one correct answer to this challenge, but unlike some of the other challenges, you are somewhat constrained by how log
is typically used.
Create a new repository
I will go to GitHub.com and create the LogChallenge
repository:
Figure 9.23: Creating the repository
Next, I need to clone that repo to my local machine:
git clone [email protected]:JesseLiberty/LogChallenge.git
Add at least 6 commits
First, we must track the new program:
Figure 9.24: Tracking the program
We'll add one change to Program.cs
:
namespace LogChallenge
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("Log Challenge!");
}
}
}
Now it is time to commit that change. Let's start with a call to status (st
):
Figure 9.25: Handling untracked and modified files
This is a tricky image. Make sure...