Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace git:// with https:// in github pages #2951

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
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