Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 21 additions & 21 deletions source/ch-communities-and-collaboration/sec-cloning-your-origin.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

<exercises>
<title />
<exercise xml:id="ex-find-clone-url-linux-a" label="ex-find-clone-url-linux-a">
<exercise xml:id="ex-find-clone-url-a" label="ex-find-clone-url-a">
<statement>
<p>
Visit the GitHub page for your origin repository.
Expand All @@ -48,7 +48,7 @@
</hint>
</exercise>

<exercise xml:id="ex-find-clone-url-linux-b" label="ex-find-clone-url-linux-b">
<exercise xml:id="ex-find-clone-url-b" label="ex-find-clone-url-b">
<statement>
<p>
Find and click the green "Code" button.
Expand All @@ -61,7 +61,7 @@
</statement>
</exercise>

<exercise xml:id="ex-find-clone-url-linux-c" label="ex-find-clone-url-linux-c">
<exercise xml:id="ex-find-clone-url-c" label="ex-find-clone-url-c">
<statement>
<p>
Open the "Local" and "HTTPS" tabs as shown here: <image source="images/ch-communities-and-collaboration/gitHubCloneURL.png" width="50%">
Expand All @@ -74,7 +74,7 @@
</statement>
</exercise>

<exercise xml:id="ex-clone-url-linux" label="ex-clone-url-linux">
<exercise xml:id="ex-clone-url" label="ex-clone-url">
<statement>
<p>
Copy and paste the clone URL that you will use to clone your origin as your answer to this exercise.
Expand Down Expand Up @@ -140,7 +140,7 @@
<exercises>
<title />

<exercise xml:id="ex-clone-origin-linux" label="ex-clone-origin-linux">
<exercise xml:id="ex-clone-origin" label="ex-clone-origin">
<statement>
<p>
The <c>git clone &lt;URL&gt;</c> command is used to clone your origin repository into your development environment.
Expand Down Expand Up @@ -176,21 +176,21 @@

<feedback>
<p>
Be sure to replace <c>&lt;URL&gt;</c> with the clone URL you found in <xref ref="ex-clone-url-linux" />. The clone URL should have the format <c>https://github.com/yourGitHubUsername/theRepoName.git</c>.
Be sure to replace <c>&lt;URL&gt;</c> with the clone URL you found in <xref ref="ex-clone-url" />. The clone URL should have the format <c>https://github.com/yourGitHubUsername/theRepoName.git</c>.
</p>
</feedback>
</condition> </var> </setup>
</exercise>
<exercise xml:id="ex-clone-origin-linux-a" label="ex-clone-origin-linux-a">
<exercise xml:id="ex-clone-origin-a" label="ex-clone-origin-a">
<p>
Execute your command from <xref ref="ex-clone-origin-linux" /> in your terminal.
Execute your command from <xref ref="ex-clone-origin" /> in your terminal.
</p>
</exercise>

<exercise xml:id="ex-clone-origin-linux-b" label="ex-clone-origin-linux-b">
<exercise xml:id="ex-clone-origin-b" label="ex-clone-origin-b">
<statement>
<p>
Which of the following appear in the output from entering the command from <xref ref="ex-clone-origin-linux-a" />?
Which of the following appear in the output from entering the command from <xref ref="ex-clone-origin-a" />?
</p>
</statement>

Expand Down Expand Up @@ -240,10 +240,10 @@
</hint>
</exercise>

<exercise xml:id="ex-clone-origin-linux-c" label="ex-clone-origin-linux-c">
<exercise xml:id="ex-clone-origin-c" label="ex-clone-origin-c">
<statement>
<p>
Which line of output from entering the command from <xref ref="ex-clone-origin-linux-a" /> indicates the directory into which the repository was cloned?
Which line of output from entering the command from <xref ref="ex-clone-origin-a" /> indicates the directory into which the repository was cloned?
</p>
</statement>

Expand Down Expand Up @@ -293,21 +293,21 @@
</hint>
</exercise>

<exercise xml:id="ex-clone-origin-linux-d" label="ex-clone-origin-linux-d">
<exercise xml:id="ex-clone-origin-d" label="ex-clone-origin-d">
<statement>
<p>
Use the <c>ls</c> command to confirm that the directory you identified in <xref ref="ex-clone-origin-linux-c" /> now exists.
Use the <c>ls</c> command to confirm that the directory you identified in <xref ref="ex-clone-origin-c" /> now exists.
</p>

<p>
If it it does not, check the output in <xref ref="ex-clone-origin-linux-b" /> for error messages and try <xref ref="ex-clone-origin-linux-a" /> again.
If it it does not, check the output in <xref ref="ex-clone-origin-b" /> for error messages and try <xref ref="ex-clone-origin-a" /> again.
</p>
</statement>
</exercise>
</exercises>
</subsection>

<subsection xml:id="topic-explore-clone-linux">
<subsection xml:id="topic-explore-clone">
<title>Exploring Your Cloned Repository In Your Development Environment</title>

<p>
Expand All @@ -316,19 +316,19 @@

<exercises>
<title />
<exercise xml:id="ex-explore-clone-linux-a" label="ex-explore-clone-linux-a">
<exercise xml:id="ex-explore-clone-a" label="ex-explore-clone-a">
<statement>
<p>
Use the <c>cd</c> command in the Terminal to change into the directory containing your clone of the GitKit FarmData2 repository.
</p>

<p>
See <xref ref="ex-clone-origin-linux-c" /> for the name of the directory.
See <xref ref="ex-clone-origin-c" /> for the name of the directory.
</p>
</statement>
</exercise>

<exercise xml:id="ex-explore-clone-linux-b" label="ex-explore-clone-linux-b">
<exercise xml:id="ex-explore-clone-b" label="ex-explore-clone-b">
<statement>
<p>
Use the <c>ls -a</c> command to display the names of all of the files and directories in your clone of the GitKit FarmData2 repository.
Expand Down Expand Up @@ -633,7 +633,7 @@
<title>Opening the GitKit FarmData2 Repository Folder</title>

<p>
You cloned your fork of the GitKit FarmData2 upstream repository into a folder in your development environment with the command in <xref ref="ex-clone-origin-linux-a" />.
You cloned your fork of the GitKit FarmData2 upstream repository into a folder in your development environment with the command in <xref ref="ex-clone-origin-a" />.
</p>

<p>
Expand Down Expand Up @@ -663,7 +663,7 @@
</statement>
</exercise>

<exercise xml:id="ex-kit-tty-linux" label="ex-kit-tty-linux">
<exercise xml:id="ex-kit-tty" label="ex-kit-tty">
<statement>
<p>
The the output in <xref ref="ex-open-repo-folder" /> should contain a message from the <term>Kit-tty</term>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@
</exercise>

<exercise
xml:id="ex-extra-practice-clone-linux"
label="ex-extra-practice-clone-linux">
xml:id="ex-extra-practice-clone"
label="ex-extra-practice-clone">
<statement>
<p>
Pick and order the commands to change to your home directory, clone your fork of the project you chose and check its remotes.
Expand Down Expand Up @@ -153,7 +153,7 @@
label="ex-extra-practice-remotes">
<statement>
<p>
In your terminal enter the commands from <xref ref="ex-extra-practice-clone-linux" />.
In your terminal enter the commands from <xref ref="ex-extra-practice-clone" />.
</p>
<p>
Which of the following do you see in the output of the <c>git remote -v</c> command?
Expand Down
4 changes: 2 additions & 2 deletions source/ch-instructor-guide/sec-instructor-communities.ptx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
<li>
<em>
<p>
<xref ref="ex-clone-url-linux" />
<xref ref="ex-clone-url" />
</p>
</em>
<p>
Expand All @@ -185,7 +185,7 @@
<li>
<em>
<p>
<xref ref="ex-clone-origin-linux" />
<xref ref="ex-clone-origin" />
</p>
</em>
<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
<term>Pushing your Feature Branch: </term>
</p>

<exercise xml:id="ex-push-branch-linux" label="ex-push-branch-linux">
<exercise xml:id="ex-push-branch" label="ex-push-branch">
<statement>
<p>
The <c>git push &lt;remote&gt; &lt;branch&gt;</c> command will push the specified branch of your local repository to the specified remote repository (i.e.
Expand Down Expand Up @@ -361,7 +361,7 @@
</hint>
</exercise>

<exercise xml:id="ex-push-error-linux" label="ex-push-error-linux">
<exercise xml:id="ex-push-error" label="ex-push-error">
<statement>
<p>
Visit your origin repository on GitHub and check that the branch was pushed.
Expand Down