Skip to content
Open
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
2 changes: 1 addition & 1 deletion hub-clone.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h2 id="protocol-used-for-cloning">Protocol used for cloning</h2>
<h2 id="examples">Examples</h2>

<pre><code>$ hub clone rtomayko/ronn
&gt; git clone git://github.com/rtomayko/ronn.git
&gt; git clone https://github.com/rtomayko/ronn.git
</code></pre>

<h2 id="see-also">See also</h2>
Expand Down
4 changes: 2 additions & 2 deletions hub-fetch.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ <h2 id="synopsis">Synopsis</h2>
<h2 id="examples">Examples</h2>

<pre><code>$ hub fetch --multiple jingweno mislav
&gt; git remote add jingweno git://github.com/jingweno/REPO.git
&gt; git remote add mislav git://github.com/mislav/REPO.git
&gt; git remote add jingweno https://github.com/jingweno/REPO.git
&gt; git remote add mislav https://github.com/mislav/REPO.git
&gt; git fetch jingweno
&gt; git fetch mislav
</code></pre>
Expand Down
2 changes: 1 addition & 1 deletion hub-remote.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ <h2 id="options">Options</h2>
<h2 id="examples">Examples</h2>

<pre><code>$ hub remote add jingweno
&gt; git remote add jingweno git://github.com/jingweno/REPO.git
&gt; git remote add jingweno https://github.com/jingweno/REPO.git

$ hub remote add origin
&gt; git remote add origin git@github.com:USER/REPO.git
Expand Down
2 changes: 1 addition & 1 deletion hub-submodule.1.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h2 id="synopsis">Synopsis</h2>
<h2 id="examples">Examples</h2>

<pre><code>$ hub submodule add jingweno/gh vendor/gh
&gt; git submodule add git://github.com/jingweno/gh.git vendor/gh
&gt; git submodule add https://github.com/jingweno/gh.git vendor/gh
</code></pre>

<h2 id="see-also">See also</h2>
Expand Down
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ <h2>Staying productive on the command-line</h2>
<pre>
<span class="comment"># clone your own project</span>
<span class=p></span><strong>hub clone</strong> dotfiles
<span class="result">→ git clone git://github.com/YOUR_USER/dotfiles.git</span>
<span class="result">→ git clone https://github.com/YOUR_USER/dotfiles.git</span>

<span class="comment"># clone another project</span>
<span class=p></span><strong>hub clone</strong> github/hub
<span class="result">→ git clone git://github.com/github/hub.git</span>
<span class="result">→ git clone https://github.com/github/hub.git</span>

<span class="comment"># fast-forward all local branches to match the latest state on the remote</span>
<span class=p></span>cd myproject
Expand Down Expand Up @@ -181,8 +181,8 @@ <h2>Designed for open-source maintainers</h2>
<pre>
<span class="comment"># fetch from multiple trusted forks, even if they don't yet exist as remotes</span>
<span class=p></span><strong>hub fetch</strong> mislav,cehoffman
<span class="result">→ git remote add mislav git://github.com/mislav/hub.git</span>
<span class="result">→ git remote add cehoffman git://github.com/cehoffman/hub.git</span>
<span class="result">→ git remote add mislav https://github.com/mislav/hub.git</span>
<span class="result">→ git remote add cehoffman https://github.com/cehoffman/hub.git</span>
<span class="result">→ git fetch --multiple mislav cehoffman</span>

<span class="comment"># check out a pull request for review</span>
Expand Down