diff --git a/man/hub.1 b/man/hub.1 index eb416b8ad58ba5f32b3f0aca2f43ad4a149c89fd..507ecda1a13011c40e900bb0fb209aab1518196e 100644 --- a/man/hub.1 +++ b/man/hub.1 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "HUB" "1" "October 2014" "GITHUB" "Hub Manual" +.TH "HUB" "1" "January 2015" "GITHUB" "Hub Manual" . .SH "NAME" \fBhub\fR \- git + hub = github @@ -137,7 +137,7 @@ Create a new public GitHub repository from the current git repository and add re . .TP \fBgit browse\fR [\fB\-u\fR] [[\fIUSER\fR\fB/\fR]\fIREPOSITORY\fR] [SUBPAGE] -Open repository\'s GitHub page in the system\'s default web browser using \fBopen(1)\fR or the \fBBROWSER\fR env variable\. If the repository isn\'t specified, \fBbrowse\fR opens the page of the repository found in the current directory\. If SUBPAGE is specified, the browser will open on the specified subpage: one of "wiki", "commits", "issues" or other (the default is "tree")\. With \fB\-u\fR, outputs the URL rather than opening the browser\. +Open repository\'s GitHub page in the system\'s default web browser using \fBopen(1)\fR or the \fBBROWSER\fR env variable\. If the repository isn\'t specified, \fBbrowse\fR opens the page of the repository found in the current directory\. If SUBPAGE is specified, the browser will open on the specified subpage: one of "wiki", "commits", "issues" or other (the default is "tree")\. A specific commit in the default repository can be opened with \fBgit browse \-\- commit/\fR\. With \fB\-u\fR, outputs the URL rather than opening the browser\. . .TP \fBgit compare\fR [\fB\-u\fR] [\fIUSER\fR] [[\fISTART\fR\.\.\.]\fIEND\fR] @@ -215,7 +215,7 @@ $ git config \-\-global \-\-add hub\.host my\.git\.org .IP "" 0 . .P -The default host for commands like \fBinit\fR and \fBclone\fR is still github\.com, but this can be affected with the \fIGITHUB_HOST\fR environment variable: +The default host for commands like \fBinit\fR and \fBclone\fR is still github\.com, but this can be affected with the \fBGITHUB_HOST\fR environment variable: . .IP "" 4 . diff --git a/man/hub.1.html b/man/hub.1.html index 2355e102dd28e5fd015d83ea15965ce0648f5ce0..9d17587d4616f8064fa8dc96ddc0f69aea1f95c8 100644 --- a/man/hub.1.html +++ b/man/hub.1.html @@ -172,9 +172,12 @@ set the repository's description and homepage URL, respectively.

git browse [-u] [[USER/]REPOSITORY] [SUBPAGE]

Open repository's GitHub page in the system's default web browser using open(1) or the BROWSER env variable. If the repository isn't specified, browse opens the page of the repository found in the current -directory. If SUBPAGE is specified, the browser will open on the specified +directory. +If SUBPAGE is specified, the browser will open on the specified subpage: one of "wiki", "commits", "issues" or other (the default is -"tree"). With -u, outputs the URL rather than opening the browser.

+"tree"). A specific commit in the default repository can be opened with +git browse -- commit/<COMMIT>. +With -u, outputs the URL rather than opening the browser.

git compare [-u] [USER] [[START...]END]

Open a GitHub compare view page in the system's default web browser. START to END are branch names, tag names, or commit SHA1s specifying the range of history to compare. If a range with two dots (a..b) is given, @@ -249,7 +252,7 @@ configure hub to treat such remotes same as github.com:

The default host for commands like init and clone is still -github.com, but this can be affected with the GITHUB_HOST environment +github.com, but this can be affected with the GITHUB_HOST environment variable:

$ GITHUB_HOST=my.git.org git clone myproject
@@ -476,7 +479,7 @@ $ git help hub
 
   
  1. GITHUB
  2. -
  3. October 2014
  4. +
  5. January 2015
  6. hub(1)
diff --git a/man/hub.1.ronn b/man/hub.1.ronn index 68d4ffbaa9e16b9ed21441d2e8e263d76d210767..4c77b55e1ab15c512ab5395fd1ec1e09191290cf 100644 --- a/man/hub.1.ronn +++ b/man/hub.1.ronn @@ -125,9 +125,12 @@ hub also adds some custom commands that are otherwise not present in git: Open repository's GitHub page in the system's default web browser using `open(1)` or the `BROWSER` env variable. If the repository isn't specified, `browse` opens the page of the repository found in the current - directory. If SUBPAGE is specified, the browser will open on the specified + directory. + If SUBPAGE is specified, the browser will open on the specified subpage: one of "wiki", "commits", "issues" or other (the default is - "tree"). With `-u`, outputs the URL rather than opening the browser. + "tree"). A specific commit in the default repository can be opened with + `git browse -- commit/`. + With `-u`, outputs the URL rather than opening the browser. * `git compare` [`-u`] [] [[...]]: Open a GitHub compare view page in the system's default web browser.