diff --git a/hub-clone.1.html b/hub-clone.1.html index a412aa03b..c81331512 100644 --- a/hub-clone.1.html +++ b/hub-clone.1.html @@ -109,7 +109,7 @@

Protocol used for cloning

Examples

$ hub clone rtomayko/ronn
-> git clone git://github.com/rtomayko/ronn.git
+> git clone https://github.com/rtomayko/ronn.git
 

See also

diff --git a/hub-fetch.1.html b/hub-fetch.1.html index d63df51c4..69c692f90 100644 --- a/hub-fetch.1.html +++ b/hub-fetch.1.html @@ -91,8 +91,8 @@

Synopsis

Examples

$ hub fetch --multiple jingweno mislav
-> git remote add jingweno git://github.com/jingweno/REPO.git
-> git remote add mislav git://github.com/mislav/REPO.git
+> git remote add jingweno https://github.com/jingweno/REPO.git
+> git remote add mislav https://github.com/mislav/REPO.git
 > git fetch jingweno
 > git fetch mislav
 
diff --git a/hub-remote.1.html b/hub-remote.1.html index 5c411d521..780f9b413 100644 --- a/hub-remote.1.html +++ b/hub-remote.1.html @@ -104,7 +104,7 @@

Options

Examples

$ hub remote add jingweno
-> git remote add jingweno git://github.com/jingweno/REPO.git
+> git remote add jingweno https://github.com/jingweno/REPO.git
 
 $ hub remote add origin
 > git remote add origin git@github.com:USER/REPO.git
diff --git a/hub-submodule.1.html b/hub-submodule.1.html
index 98ac82e30..469bcfd49 100644
--- a/hub-submodule.1.html
+++ b/hub-submodule.1.html
@@ -91,7 +91,7 @@ 

Synopsis

Examples

$ hub submodule add jingweno/gh vendor/gh
-> git submodule add git://github.com/jingweno/gh.git vendor/gh
+> git submodule add https://github.com/jingweno/gh.git vendor/gh
 

See also

diff --git a/index.html b/index.html index 9be032c0f..a8f5f6f28 100644 --- a/index.html +++ b/index.html @@ -44,11 +44,11 @@

Staying productive on the command-line

 # clone your own project
 hub clone dotfiles
-→ git clone git://github.com/YOUR_USER/dotfiles.git
+→ git clone https://github.com/YOUR_USER/dotfiles.git
 
 # clone another project
 hub clone github/hub
-→ git clone git://github.com/github/hub.git
+→ git clone https://github.com/github/hub.git
 
 # fast-forward all local branches to match the latest state on the remote
 cd myproject
@@ -181,8 +181,8 @@ 

Designed for open-source maintainers

 # fetch from multiple trusted forks, even if they don't yet exist as remotes
 hub fetch mislav,cehoffman
-→ git remote add mislav git://github.com/mislav/hub.git
-→ git remote add cehoffman git://github.com/cehoffman/hub.git
+→ git remote add mislav https://github.com/mislav/hub.git
+→ git remote add cehoffman https://github.com/cehoffman/hub.git
 → git fetch --multiple mislav cehoffman
 
 # check out a pull request for review