Skip to content

Commit

Permalink
Escape < and > properly
Browse files Browse the repository at this point in the history
  • Loading branch information
duzun committed Dec 2, 2014
1 parent f5c5c98 commit 86aa16f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
14 changes: 7 additions & 7 deletions guide/challenges/remote_control.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<span class="filledblock"><a href="../index.html">Git-it</a></span>
<!-- <span class="right hand">☞</span> -->
</div>

<div class="wrapper">
<div class="challenge-band left">
<span class="meta">CHALLENGE</span>
Expand Down Expand Up @@ -92,7 +92,7 @@ <h2>Step: Connect your Local to your Remote</h2>
initialized as a Git repository in the earlier challenge, you
want to tell Git the location of the remote version on GitHub's servers. You can have multiple remotes so each requires a name. For your main one, this is commonly named <code>origin</code>.</p>

<code>$ git remote add origin &#60;URLFROMGITHUB&#62;</code>
<code>$ git remote add origin &lt;URLFROMGITHUB&gt;</code>

<p>Your <strong>local</strong> repository now knows where your <strong>remote</strong> one named 'origin' lives on GitHub's servers. Think of it as adding a name and address on speed dial — now when you need to send something there, you can.</p>

Expand All @@ -103,7 +103,7 @@ <h2>Step: Connect your Local to your Remote</h2>
just need to tell it what URL to associate with origin. Use this
command instead of the 'add' one above:</p>

<code>$ git remote set-url origin &#60;URLFROMGITHUB&#62;</code>
<code>$ git remote set-url origin &lt;URLFROMGITHUB&gt;</code>
</blockquote>

<h2>Step: Push Work to your Remote</h2>
Expand Down Expand Up @@ -133,15 +133,15 @@ <h3>Go to the next challenge </h3> <code>git-it</code>
<h2>Tips</h2>
<ul>
<li><strong>Add remote connections</strong></li>
<code>$ git remote add &#60;REMOTENAME&#62; <URL></code>
<code>$ git remote add &lt;REMOTENAME&gt; &lt;URL&gt;</code>
<li><strong>Set a URL to a remote</strong></li>
<code>$ git remote set-url &#60;REMOTENAME&#62; <URL></code>
<code>$ git remote set-url &lt;REMOTENAME&gt; &lt;URL&gt;</code>
<li><strong>Pull in changes</strong></li>
<code>$ git pull &#60;REMOTENAME&#62; &#60;BRANCHNAME&#62;</code>
<code>$ git pull &lt;REMOTENAME&gt; &lt;BRANCHNAME&gt;</code>
<li><strong>View remote connections</strong></li>
<code>$ git remote -v</code>
<li><strong>Push changes</strong></li>
<code>$ git push &#60;REMOTENAME&#62; <BRANCH></code>
<code>$ git push &lt;REMOTENAME&gt; &lt;BRANCH&gt;</code>
</ul>
</div>

Expand Down
12 changes: 6 additions & 6 deletions guide/raw-content/5_remote_control.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h2>Step: Connect your Local to your Remote</h2>
initialized as a Git repository in the earlier challenge, you
want to tell Git the location of the remote version on GitHub's servers. You can have multiple remotes so each requires a name. For your main one, this is commonly named <code>origin</code>.</p>

<code>$ git remote add origin &#60;URLFROMGITHUB&#62;</code>
<code>$ git remote add origin &lt;URLFROMGITHUB&gt;</code>

<p>Your <strong>local</strong> repository now knows where your <strong>remote</strong> one named 'origin' lives on GitHub's servers. Think of it as adding a name and address on speed dial — now when you need to send something there, you can.</p>

Expand All @@ -66,7 +66,7 @@ <h2>Step: Connect your Local to your Remote</h2>
just need to tell it what URL to associate with origin. Use this
command instead of the 'add' one above:</p>

<code>$ git remote set-url origin &#60;URLFROMGITHUB&#62;</code>
<code>$ git remote set-url origin &lt;URLFROMGITHUB&gt;</code>
</blockquote>

<h2>Step: Push Work to your Remote</h2>
Expand Down Expand Up @@ -96,14 +96,14 @@ <h3>Go to the next challenge </h3> <code>git-it</code>
<h2>Tips</h2>
<ul>
<li><strong>Add remote connections</strong></li>
<code>$ git remote add &#60;REMOTENAME&#62; <URL></code>
<code>$ git remote add &lt;REMOTENAME&gt; &lt;URL&gt;</code>
<li><strong>Set a URL to a remote</strong></li>
<code>$ git remote set-url &#60;REMOTENAME&#62; <URL></code>
<code>$ git remote set-url &lt;REMOTENAME&gt; &lt;URL&gt;</code>
<li><strong>Pull in changes</strong></li>
<code>$ git pull &#60;REMOTENAME&#62; &#60;BRANCHNAME&#62;</code>
<code>$ git pull &lt;REMOTENAME&gt; &lt;BRANCHNAME&gt;</code>
<li><strong>View remote connections</strong></li>
<code>$ git remote -v</code>
<li><strong>Push changes</strong></li>
<code>$ git push &#60;REMOTENAME&#62; <BRANCH></code>
<code>$ git push &lt;REMOTENAME&gt; &lt;BRANCH&gt;</code>
</ul>
</div>

0 comments on commit 86aa16f

Please sign in to comment.