diff --git a/man/hub.1 b/man/hub.1 index d70a43b92..72301a090 100644 --- a/man/hub.1 +++ b/man/hub.1 @@ -1,7 +1,7 @@ .\" generated with Ron/v0.3 .\" http://github.com/rtomayko/ron/ . -.TH "HUB" "1" "December 2009" "DEFUNKT" "Git Manual" +.TH "HUB" "1" "January 2010" "DEFUNKT" "Git Manual" . .SH "NAME" \fBhub\fR \-\- git + hub = github @@ -24,6 +24,9 @@ \fBgit remote add\fR [\fB\-p\fR] \fIOPTIONS\fR \fIUSER\fR[/\fIREPOSITORY\fR] . .br +\fBgit browse\fR [\fB\-p\fR] [\fIUSER\fR/]\fIREPOSITORY\fR +. +.br . .SH "DESCRIPTION" \fBhub\fR enhances various \fBgit\fR commands with GitHub remote expansion. The @@ -61,6 +64,12 @@ Push \fIREF\fR to each of \fIREMOTE\-1\fR through \fIREMOTE\-N\fR by executing multiple \fBgit push\fR commands. . .TP +\fBgit browse\fR [\fB\-p\fR] [\fIUSER\fR\fB/\fR]\fIREPOSITORY\fR +Open repository's GitHub page in the system's default web browser +using \fBopen(1)\fR or the \fBBROWSER\fR env variable. Use \fB\-p\fR to open a +page with https. +. +.TP \fBgit help\fR Display enhanced git\-help(1). . @@ -159,6 +168,23 @@ $ git push origin,staging,qa bert_timeout . .fi . +.SS "git browse" +. +.nf + +$ git browse schacon/ticgit +> open http://github.com/schacon/ticgit +$ git browse \-p schacon/ticgit +> open http://github.com/schacon/ticgit + +$ git browse resque +> open http://github.com/YOUR_USER/resque + +$ git browse \-p resque +> open https://github.com:YOUR_USER/resque +. +.fi +. .SS "git help" . .nf diff --git a/man/hub.1.html b/man/hub.1.html index f6dc0c41d..4d3bedc85 100644 --- a/man/hub.1.html +++ b/man/hub.1.html @@ -73,6 +73,7 @@

SYNOPSIS

git init -g OPTIONS
git clone [-p] OPTIONS [USER/]REPOSITORY DIRECTORY
git remote add [-p] OPTIONS USER[/REPOSITORY]
+git browse [-p] [USER/]REPOSITORY

DESCRIPTION

@@ -119,6 +120,12 @@

DESCRIPTION

Push REF to each of REMOTE-1 through REMOTE-N by executing multiple git push commands.

+
+git browse [-p] [USER/]REPOSITORY +
+

Open repository's GitHub page in the system's default web browser +using open(1) or the BROWSER env variable. Use -p to open a +page with https.

git help

Display enhanced git-help(1).

@@ -186,6 +193,21 @@

git push

> git push qa bert_timeout +

git browse

+ +
$ git browse schacon/ticgit
+> open http://github.com/schacon/ticgit
+
+$ git browse -p schacon/ticgit
+> open http://github.com/schacon/ticgit
+
+$ git browse resque
+> open http://github.com/YOUR_USER/resque
+
+$ git browse -p resque
+> open https://github.com:YOUR_USER/resque
+
+

git help

$ git help
@@ -210,7 +232,7 @@ 

SEE ALSO

  1. DEFUNKT
  2. -
  3. December 2009
  4. +
  5. January 2010
  6. hub(1)