git-hub 1.4.1 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Hub
2
- Version = VERSION = '1.4.1'
2
+ Version = VERSION = '1.5.0'
3
3
  end
data/man/hub.1 CHANGED
@@ -1,7 +1,7 @@
1
- .\" generated with Ronn/v0.5
2
- .\" http://github.com/rtomayko/ronn/
1
+ .\" generated with Ronn/v0.7.3
2
+ .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "HUB" "1" "August 2010" "DEFUNKT" "Git Manual"
4
+ .TH "HUB" "1" "December 2010" "DEFUNKT" "Git Manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBhub\fR \- git + hub = github
@@ -16,7 +16,10 @@
16
16
  \fBgit init \-g\fR \fIOPTIONS\fR
17
17
  .
18
18
  .br
19
- \fBgit create\fR [\fB\-p\fR] [\fB\-d <DESCRIPTION>\fR] [\fB\-h <HOMEPAGE>\fR]: \fBgit clone\fR [\fB\-p\fR] \fIOPTIONS\fR [\fIUSER\fR/]\fIREPOSITORY\fR \fIDIRECTORY\fR
19
+ \fBgit create\fR [\fB\-p\fR] [\fB\-d <DESCRIPTION>\fR] [\fB\-h <HOMEPAGE>\fR]
20
+ .
21
+ .br
22
+ \fBgit clone\fR [\fB\-p\fR] \fIOPTIONS\fR [\fIUSER\fR/]\fIREPOSITORY\fR \fIDIRECTORY\fR
20
23
  .
21
24
  .br
22
25
  \fBgit remote add\fR [\fB\-p\fR] \fIOPTIONS\fR \fIUSER\fR[/\fIREPOSITORY\fR]
@@ -25,19 +28,22 @@
25
28
  \fBgit remote set\-url\fR [\fB\-p\fR] \fIOPTIONS\fR \fIREMOTE\-NAME\fR \fIUSER\fR[/\fIREPOSITORY\fR]
26
29
  .
27
30
  .br
28
- \fBgit fetch\fR \fIUSER\-1\fR,[\fIUSER\-2\fR,...]
31
+ \fBgit fetch\fR \fIUSER\-1\fR,[\fIUSER\-2\fR,\.\.\.]
29
32
  .
30
33
  .br
31
34
  \fBgit cherry\-pick\fR \fIGITHUB\-REF\fR
32
35
  .
33
36
  .br
34
- \fBgit push\fR \fIREMOTE\-1\fR,\fIREMOTE\-2\fR,...,\fIREMOTE\-N\fR \fIREF\fR
37
+ \fBgit am\fR \fIGITHUB\-URL\fR
38
+ .
39
+ .br
40
+ \fBgit push\fR \fIREMOTE\-1\fR,\fIREMOTE\-2\fR,\.\.\.,\fIREMOTE\-N\fR \fIREF\fR
35
41
  .
36
42
  .br
37
- \fBgit browse\fR [\fB\-p\fR] [\fB\-u\fR] [[\fIUSER\fR\fB/\fR]\fIREPOSITORY\fR] [SUBPAGE]
43
+ \fBgit browse\fR [\fB\-u\fR] [[\fIUSER\fR\fB/\fR]\fIREPOSITORY\fR] [SUBPAGE]
38
44
  .
39
45
  .br
40
- \fBgit compare\fR [\fB\-p\fR] [\fB\-u\fR] [\fIUSER\fR] [\fISTART\fR...]\fIEND\fR
46
+ \fBgit compare\fR [\fB\-u\fR] [\fIUSER\fR] [\fISTART\fR\.\.\.]\fIEND\fR
41
47
  .
42
48
  .br
43
49
  \fBgit submodule add\fR [\fB\-p\fR] \fIOPTIONS\fR [\fIUSER\fR/]\fIREPOSITORY\fR \fIDIRECTORY\fR
@@ -46,98 +52,70 @@
46
52
  \fBgit fork\fR [\fB\-\-no\-remote\fR]
47
53
  .
48
54
  .SH "DESCRIPTION"
49
- \fBhub\fR enhances various \fBgit\fR commands with GitHub remote expansion. The
50
- alias command displays information on configuring your environment:
55
+ \fBhub\fR enhances various \fBgit\fR commands with GitHub remote expansion\. The alias command displays information on configuring your environment:
51
56
  .
52
57
  .IP "\(bu" 4
53
- \fBhub alias\fR [\fB\-s\fR] \fISHELL\fR:
54
- Writes shell aliasing code for \fISHELL\fR (\fBbash\fR, \fBsh\fR, \fBzsh\fR, \fBcsh\fR) to standard output. With the \fB\-s\fR option, the output of
55
- this command can be evaluated directly within the shell:
58
+ \fBhub alias\fR [\fB\-s\fR] \fISHELL\fR: Writes shell aliasing code for \fISHELL\fR (\fBbash\fR, \fBsh\fR, \fBzsh\fR, \fBcsh\fR) to standard output\. With the \fB\-s\fR option, the output of this command can be evaluated directly within the shell:
56
59
  .
57
60
  .br
58
61
  \fBeval $(hub alias \-s bash)\fR
59
62
  .
60
63
  .IP "\(bu" 4
61
- \fBgit init\fR \fB\-g\fR \fIOPTIONS\fR:
62
- Create a git repository as with git\-init(1) and add remote \fBorigin\fR at
63
- "git@github.com:\fIUSER\fR/\fIREPOSITORY\fR.git"; \fIUSER\fR is your GitHub username and \fIREPOSITORY\fR is the current working directory's basename.
64
+ \fBgit init\fR \fB\-g\fR \fIOPTIONS\fR: Create a git repository as with git\-init(1) and add remote \fBorigin\fR at "git@github\.com:\fIUSER\fR/\fIREPOSITORY\fR\.git"; \fIUSER\fR is your GitHub username and \fIREPOSITORY\fR is the current working directory\'s basename\.
64
65
  .
65
66
  .IP "\(bu" 4
66
67
  \fBgit create\fR [\fB\-p\fR] [\fB\-d <DESCRIPTION>\fR] [\fB\-h <HOMEPAGE>\fR]:
67
- Create a new public github repository from the current git
68
- repository and add remote \fBorigin\fR at
69
- "git@github.com:\fIUSER\fR/\fIREPOSITORY\fR.git"; \fIUSER\fR is your GitHub
70
- username and \fIREPOSITORY\fR is the current working directory's
71
- basename. With \fB\-p\fR, create a private repository. \fB\-d\fR and \fB\-h\fR
72
- set the repository's description and homepage, respectively.
68
+ .
69
+ .br
70
+ Create a new public github repository from the current git repository and add remote \fBorigin\fR at "git@github\.com:\fIUSER\fR/\fIREPOSITORY\fR\.git"; \fIUSER\fR is your GitHub username and \fIREPOSITORY\fR is the current working directory\'s basename\. With \fB\-p\fR, create a private repository\. \fB\-d\fR and \fB\-h\fR set the repository\'s description and homepage, respectively\.
73
71
  .
74
72
  .IP "\(bu" 4
75
73
  \fBgit clone\fR [\fB\-p\fR] \fIOPTIONS\fR [\fIUSER\fR\fB/\fR]\fIREPOSITORY\fR \fIDIRECTORY\fR:
76
- Clone repository "git://github.com/\fIUSER\fR/\fIREPOSITORY\fR.git" into \fIDIRECTORY\fR as with git\-clone(1). When \fIUSER\fR/ is omitted, assumes
77
- your GitHub login. With \fB\-p\fR, use private remote
78
- "git@github.com:\fIUSER\fR/\fIREPOSITORY\fR.git".
74
+ .
75
+ .br
76
+ Clone repository "git://github\.com/\fIUSER\fR/\fIREPOSITORY\fR\.git" into \fIDIRECTORY\fR as with git\-clone(1)\. When \fIUSER\fR/ is omitted, assumes your GitHub login\. With \fB\-p\fR, use private remote "git@github\.com:\fIUSER\fR/\fIREPOSITORY\fR\.git"\.
79
77
  .
80
78
  .IP "\(bu" 4
81
79
  \fBgit remote add\fR [\fB\-p\fR] \fIOPTIONS\fR \fIUSER\fR[\fB/\fR\fIREPOSITORY\fR]:
82
- Add remote "git://github.com/\fIUSER\fR/\fIREPOSITORY\fR.git" as with
83
- git\-remote(1). When /\fIREPOSITORY\fR is omitted, the basename of the
84
- current working directory is used. With \fB\-p\fR, use private remote
85
- "git@github.com:\fIUSER\fR/\fIREPOSITORY\fR.git". If \fIUSER\fR is "origin"
86
- then uses your GitHub login.
80
+ .
81
+ .br
82
+ Add remote "git://github\.com/\fIUSER\fR/\fIREPOSITORY\fR\.git" as with git\-remote(1)\. When /\fIREPOSITORY\fR is omitted, the basename of the current working directory is used\. With \fB\-p\fR, use private remote "git@github\.com:\fIUSER\fR/\fIREPOSITORY\fR\.git"\. If \fIUSER\fR is "origin" then uses your GitHub login\.
87
83
  .
88
84
  .IP "\(bu" 4
89
85
  \fBgit remote set\-url\fR [\fB\-p\fR] \fIOPTIONS\fR \fIREMOTE\-NAME\fR \fIUSER\fR[/\fIREPOSITORY\fR]
90
86
  .
91
87
  .br
92
- Sets the url of remote \fIREMOTE\-NAME\fR using the same rules as \fBgit remote add\fR.
88
+ Sets the url of remote \fIREMOTE\-NAME\fR using the same rules as \fBgit remote add\fR\.
89
+ .
90
+ .IP "\(bu" 4
91
+ \fBgit fetch\fR \fIUSER\-1\fR,[\fIUSER\-2\fR,\.\.\.]: Adds missing remote(s) with \fBgit remote add\fR prior to fetching\. New remotes are only added if they correspond to valid forks on GitHub\.
93
92
  .
94
93
  .IP "\(bu" 4
95
- \fBgit fetch\fR \fIUSER\-1\fR,[\fIUSER\-2\fR,...]:
96
- Adds missing remote(s) with \fBgit remote add\fR prior to fetching. New
97
- remotes are only added if they correspond to valid forks on GitHub.
94
+ \fBgit cherry\-pick\fR \fIGITHUB\-REF\fR: Cherry\-pick a commit from a fork using either full URL to the commit or GitHub\-flavored Markdown notation, which is \fBuser@sha\fR\. If the remote doesn\'t yet exist, it will be added\. A \fBgit fetch <user>\fR is issued prior to the cherry\-pick attempt\.
98
95
  .
99
96
  .IP "\(bu" 4
100
- \fBgit cherry\-pick\fR \fIGITHUB\-REF\fR:
101
- Cherry\-pick a commit from a fork using either full URL to the commit
102
- or GitHub\-flavored Markdown notation, which is \fBuser@sha\fR. If the remote
103
- doesn't yet exist, it will be added. A \fBgit fetch <user>\fR is issued
104
- prior to the cherry\-pick attempt.
97
+ \fBgit am\fR \fIGITHUB\-URL\fR: Downloads the patch file for the pull request or commit at the URL and applies that patch from disk with \fBgit am\fR\. Similar to \fBcherry\-pick\fR, but doesn\'t add new remotes\.
105
98
  .
106
99
  .IP "\(bu" 4
107
- \fBgit push\fR \fIREMOTE\-1\fR,\fIREMOTE\-2\fR,...,\fIREMOTE\-N\fR \fIREF\fR:
108
- Push \fIREF\fR to each of \fIREMOTE\-1\fR through \fIREMOTE\-N\fR by executing
109
- multiple \fBgit push\fR commands.
100
+ \fBgit push\fR \fIREMOTE\-1\fR,\fIREMOTE\-2\fR,\.\.\.,\fIREMOTE\-N\fR \fIREF\fR: Push \fIREF\fR to each of \fIREMOTE\-1\fR through \fIREMOTE\-N\fR by executing multiple \fBgit push\fR commands\.
110
101
  .
111
102
  .IP "\(bu" 4
112
- \fBgit browse\fR [\fB\-p\fR] [\fB\-u\fR] [[\fIUSER\fR\fB/\fR]\fIREPOSITORY\fR] [SUBPAGE]:
113
- Open repository's GitHub page in the system's default web browser
114
- using \fBopen(1)\fR or the \fBBROWSER\fR env variable. Use \fB\-p\fR to open a
115
- page with https. If the repository isn't specified, \fBbrowse\fR opens
116
- the page of the repository found in the current directory. If SUBPAGE
117
- is specified, the browser will open on the specified subpage: one of
118
- "wiki", "commits", "issues" or other (the default is "tree").
103
+ \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")\.
119
104
  .
120
105
  .IP "\(bu" 4
121
- \fBgit compare\fR [\fB\-p\fR] [\fB\-u\fR] [\fIUSER\fR] [\fISTART\fR...]\fIEND\fR:
122
- Open a GitHub compare view page in the system's default web browser. \fISTART\fR to \fIEND\fR are branch names, tag names, or commit SHA1s specifying
123
- the range of history to compare. If \fISTART\fR is omitted, GitHub will
124
- compare against the base branch (the default is "master").
106
+ \fBgit compare\fR [\fB\-u\fR] [\fIUSER\fR] [\fISTART\fR\.\.\.]\fIEND\fR: Open a GitHub compare view page in the system\'s default web browser\. \fISTART\fR to \fIEND\fR are branch names, tag names, or commit SHA1s specifying the range of history to compare\. If \fISTART\fR is omitted, GitHub will compare against the base branch (the default is "master")\.
125
107
  .
126
108
  .IP "\(bu" 4
127
109
  \fBgit submodule add\fR [\fB\-p\fR] \fIOPTIONS\fR [\fIUSER\fR/]\fIREPOSITORY\fR \fIDIRECTORY\fR:
128
- Submodule repository "git://github.com/\fIUSER\fR/\fIREPOSITORY\fR.git" into \fIDIRECTORY\fR as with git\-submodule(1). When \fIUSER\fR/ is omitted, assumes
129
- your GitHub login. With \fB\-p\fR, use private remote
130
- "git@github.com:\fIUSER\fR/\fIREPOSITORY\fR.git".
110
+ .
111
+ .br
112
+ Submodule repository "git://github\.com/\fIUSER\fR/\fIREPOSITORY\fR\.git" into \fIDIRECTORY\fR as with git\-submodule(1)\. When \fIUSER\fR/ is omitted, assumes your GitHub login\. With \fB\-p\fR, use private remote "git@github\.com:\fIUSER\fR/\fIREPOSITORY\fR\.git"\.
131
113
  .
132
114
  .IP "\(bu" 4
133
- \fBgit fork\fR [\fB\-\-no\-remote\fR]:
134
- Forks the original project (referenced by "origin" remote) on GitHub and
135
- adds a new remote for it under your username. Requires \fBgithub.token\fR to
136
- be set (see CONFIGURATION).
115
+ \fBgit fork\fR [\fB\-\-no\-remote\fR]: Forks the original project (referenced by "origin" remote) on GitHub and adds a new remote for it under your username\. Requires \fBgithub\.token\fR to be set (see CONFIGURATION)\.
137
116
  .
138
117
  .IP "\(bu" 4
139
- \fBgit help\fR:
140
- Display enhanced git\-help(1).
118
+ \fBgit help\fR: Display enhanced git\-help(1)\.
141
119
  .
142
120
  .IP "" 0
143
121
  .
@@ -148,7 +126,7 @@ Use git\-config(1) to display the currently configured GitHub username:
148
126
  .
149
127
  .nf
150
128
 
151
- $ git config \-\-global github.user
129
+ $ git config \-\-global github\.user
152
130
  .
153
131
  .fi
154
132
  .
@@ -161,31 +139,40 @@ Or, set the GitHub username and token with:
161
139
  .
162
140
  .nf
163
141
 
164
- $ git config \-\-global github.user <username>
165
- $ git config \-\-global github.token <token>
142
+ $ git config \-\-global github\.user <username>
143
+ $ git config \-\-global github\.token <token>
166
144
  .
167
145
  .fi
168
146
  .
169
147
  .IP "" 0
170
148
  .
171
149
  .P
172
- See \fIhttp://github.com/guides/local\-github\-config\fR for more
173
- information.
150
+ See \fIhttp://github\.com/guides/local\-github\-config\fR for more information\.
174
151
  .
175
152
  .P
176
- You can also tell \fBhub\fR to use \fBhttp://\fR rather than \fBgit://\fR when
177
- cloning:
153
+ You can also tell \fBhub\fR to use \fBhttp://\fR rather than \fBgit://\fR when cloning:
178
154
  .
179
155
  .IP "" 4
180
156
  .
181
157
  .nf
182
158
 
183
- $ git config \-\-global \-\-bool hub.http\-clone true
159
+ $ git config \-\-global \-\-bool hub\.http\-clone true
184
160
  .
185
161
  .fi
186
162
  .
187
163
  .IP "" 0
188
164
  .
165
+ .P
166
+ Want to use environment variables instead of a local gitconfig for authentication?
167
+ .
168
+ .IP "\(bu" 4
169
+ \fBGITHUB_USER\fR \- If set, this will be used instead of the \fBgithub\.user\fR config
170
+ .
171
+ .IP "\(bu" 4
172
+ \fBGITHUB_TOKEN\fR \- If set, this will be used instead of the \fBgithub\.token\fR
173
+ .
174
+ .IP "" 0
175
+ .
189
176
  .SH "EXAMPLES"
190
177
  .
191
178
  .SS "git clone"
@@ -193,16 +180,16 @@ $ git config \-\-global \-\-bool hub.http\-clone true
193
180
  .nf
194
181
 
195
182
  $ git clone schacon/ticgit
196
- > git clone git://github.com/schacon/ticgit.git
183
+ > git clone git://github\.com/schacon/ticgit\.git
197
184
 
198
185
  $ git clone \-p schacon/ticgit
199
- > git clone git@github.com:schacon/ticgit.git
186
+ > git clone git@github\.com:schacon/ticgit\.git
200
187
 
201
188
  $ git clone resque
202
- > git clone git://github.com/YOUR_USER/resque.git
189
+ > git clone git://github\.com/YOUR_USER/resque\.git
203
190
 
204
191
  $ git clone \-p resque
205
- > git clone git@github.com:YOUR_USER/resque.git
192
+ > git clone git@github\.com:YOUR_USER/resque\.git
206
193
  .
207
194
  .fi
208
195
  .
@@ -211,13 +198,13 @@ $ git clone \-p resque
211
198
  .nf
212
199
 
213
200
  $ git remote add rtomayko
214
- > git remote add rtomayko git://github.com/rtomayko/CURRENT_REPO.git
201
+ > git remote add rtomayko git://github\.com/rtomayko/CURRENT_REPO\.git
215
202
 
216
203
  $ git remote add \-p rtomayko
217
- > git remote add rtomayko git@github.com:rtomayko/CURRENT_REPO.git
204
+ > git remote add rtomayko git@github\.com:rtomayko/CURRENT_REPO\.git
218
205
 
219
206
  $ git remote add origin
220
- > git remote add origin git://github.com/YOUR_USER/CURRENT_REPO.git
207
+ > git remote add origin git://github\.com/YOUR_USER/CURRENT_REPO\.git
221
208
  .
222
209
  .fi
223
210
  .
@@ -226,12 +213,12 @@ $ git remote add origin
226
213
  .nf
227
214
 
228
215
  $ git fetch mislav
229
- > git remote add mislav git://github.com/mislav/REPO.git
216
+ > git remote add mislav git://github\.com/mislav/REPO\.git
230
217
  > git fetch mislav
231
218
 
232
219
  $ git fetch mislav,xoebus
233
- > git remote add mislav ...
234
- > git remote add xoebus ...
220
+ > git remote add mislav \.\.\.
221
+ > git remote add xoebus \.\.\.
235
222
  > git fetch \-\-multiple mislav xoebus
236
223
  .
237
224
  .fi
@@ -240,12 +227,12 @@ $ git fetch mislav,xoebus
240
227
  .
241
228
  .nf
242
229
 
243
- $ git cherry\-pick http://github.com/mislav/REPO/commit/SHA
244
- > git remote add \-f mislav git://github.com/mislav/REPO.git
230
+ $ git cherry\-pick http://github\.com/mislav/REPO/commit/SHA
231
+ > git remote add \-f mislav git://github\.com/mislav/REPO\.git
245
232
  > git cherry\-pick SHA
246
233
 
247
234
  $ git cherry\-pick mislav@SHA
248
- > git remote add \-f mislav git://github.com/mislav/CURRENT_REPO.git
235
+ > git remote add \-f mislav git://github\.com/mislav/CURRENT_REPO\.git
249
236
  > git cherry\-pick SHA
250
237
 
251
238
  $ git cherry\-pick mislav@SHA
@@ -254,13 +241,27 @@ $ git cherry\-pick mislav@SHA
254
241
  .
255
242
  .fi
256
243
  .
244
+ .SS "git am"
245
+ .
246
+ .nf
247
+
248
+ $ git am https://github\.com/defunkt/hub/pull/55
249
+ > curl https://github\.com/defunkt/hub/pull/55\.patch \-o /tmp/55\.patch
250
+ > git am /tmp/55\.patch
251
+
252
+ $ git am \-\-ignore\-whitespace https://github\.com/davidbalbert/hub/commit/fdb9921
253
+ > curl https://github\.com/davidbalbert/hub/commit/fdb9921\.patch \-o /tmp/fdb9921\.patch
254
+ > git am \-\-ignore\-whitespace /tmp/fdb9921\.patch
255
+ .
256
+ .fi
257
+ .
257
258
  .SS "git fork"
258
259
  .
259
260
  .nf
260
261
 
261
262
  $ git fork
262
- ... hardcore forking action ...
263
- > git remote add YOUR_USER git@github.com:YOUR_USER/CURRENT_REPO.git
263
+ \.\.\. hardcore forking action \.\.\.
264
+ > git remote add YOUR_USER git@github\.com:YOUR_USER/CURRENT_REPO\.git
264
265
  .
265
266
  .fi
266
267
  .
@@ -270,7 +271,7 @@ $ git fork
270
271
 
271
272
  $ git init \-g
272
273
  > git init
273
- > git remote add origin git@github.com:YOUR_USER/REPO.git
274
+ > git remote add origin git@github\.com:YOUR_USER/REPO\.git
274
275
  .
275
276
  .fi
276
277
  .
@@ -279,8 +280,8 @@ $ git init \-g
279
280
  .nf
280
281
 
281
282
  $ git create
282
- ... hardcore creating action ...
283
- > git remote add origin git@github.com:YOUR_USER/CURRENT_REPO.git
283
+ \.\.\. hardcore creating action \.\.\.
284
+ > git remote add origin git@github\.com:YOUR_USER/CURRENT_REPO\.git
284
285
  .
285
286
  .fi
286
287
  .
@@ -300,25 +301,19 @@ $ git push origin,staging,qa bert_timeout
300
301
  .nf
301
302
 
302
303
  $ git browse
303
- > open http://github.com/CURRENT_REPO
304
+ > open https://github\.com/CURRENT_REPO
304
305
 
305
306
  $ git browse \-\- issues
306
- > open http://github.com/CURRENT_REPO/issues
307
+ > open https://github\.com/CURRENT_REPO/issues
307
308
 
308
309
  $ git browse schacon/ticgit
309
- > open http://github.com/schacon/ticgit
310
-
311
- $ git browse \-p schacon/ticgit
312
- > open https://github.com/schacon/ticgit
310
+ > open https://github\.com/schacon/ticgit
313
311
 
314
312
  $ git browse resque
315
- > open http://github.com/YOUR_USER/resque
313
+ > open https://github\.com/YOUR_USER/resque
316
314
 
317
315
  $ git browse resque network
318
- > open http://github.com/YOUR_USER/resque/network
319
-
320
- $ git browse \-p resque
321
- > open https://github.com/YOUR_USER/resque
316
+ > open https://github\.com/YOUR_USER/resque/network
322
317
  .
323
318
  .fi
324
319
  .
@@ -327,16 +322,16 @@ $ git browse \-p resque
327
322
  .nf
328
323
 
329
324
  $ git compare refactor
330
- > open http://github.com/CURRENT_REPO/compare/refactor
325
+ > open https://github\.com/CURRENT_REPO/compare/refactor
331
326
 
332
- $ git compare 1.0...1.1
333
- > open http://github.com/CURRENT_REPO/compare/1.0...1.1
327
+ $ git compare 1\.0\.\.\.1\.1
328
+ > open https://github\.com/CURRENT_REPO/compare/1\.0\.\.\.1\.1
334
329
 
335
330
  $ git compare \-u fix
336
- > (http://github.com/CURRENT_REPO/compare/fix)
331
+ > (https://github\.com/CURRENT_REPO/compare/fix)
337
332
 
338
333
  $ git compare other\-user patch
339
- > open http://github.com/other\-user/REPO/compare/patch
334
+ > open https://github\.com/other\-user/REPO/compare/patch
340
335
  .
341
336
  .fi
342
337
  .
@@ -352,10 +347,10 @@ $ git help hub
352
347
  .fi
353
348
  .
354
349
  .SH "BUGS"
355
- \fIhttp://github.com/defunkt/hub/issues\fR
350
+ \fIhttp://github\.com/defunkt/hub/issues\fR
356
351
  .
357
- .SH "AUTHOR"
358
- Chris Wanstrath :: chris@ozmm.org :: @defunkt
352
+ .SH "AUTHORS"
353
+ \fIhttps://github\.com/defunkt/hub/contributors\fR
359
354
  .
360
355
  .SH "SEE ALSO"
361
- git(1), git\-clone(1), git\-remote(1), git\-init(1), \fIhttp://github.com\fR, \fIhttp://github.com/defunkt/hub\fR
356
+ git(1), git\-clone(1), git\-remote(1), git\-init(1), \fIhttp://github\.com\fR, \fIhttp://github\.com/defunkt/hub\fR
@@ -2,147 +2,77 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv='content-type' value='text/html;charset=utf8'>
5
- <meta name='generator' value='Ronn/v0.5 (http://github.com/rtomayko/ronn)'>
5
+ <meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
6
6
  <title>hub(1) - git + hub = github</title>
7
7
  <style type='text/css' media='all'>
8
- /* STRUCTURE, INDENT, MARGINS */
9
-
10
- body { margin:0}
11
- #man { max-width:92ex; padding:0 2ex 1ex 2ex}
12
-
13
- #man p, #man pre,
14
- #man ul, #man ol, #man dl { margin:0 0 20px 0}
15
- #man h2 { margin:10px 0 0 0}
16
-
17
- #man > p, #man > pre,
18
- #man > ul, #man > ol, #man > dl { margin-left:8ex}
19
- #man h3 { margin:0 0 0 4ex}
20
-
21
- #man dt { margin:0; clear:left}
22
- #man dt.flush { float:left; width:8ex}
23
- #man dd { margin:0 0 0 9ex}
24
- #man h1, #man h2, #man h3, #man h4 { clear:left}
25
-
26
- #man pre { margin-bottom:20px}
27
- #man pre+h2, #man pre+h3 { margin-top:22px}
28
- #man h2+pre, #man h3+pre { margin-top:5px}
29
-
30
- #man img { display:block;margin:auto}
31
- #man h1.man-title { display:none}
32
-
33
- /* FONTS */
34
-
35
- #man, #man code, #man pre,
36
- #man tt, #man kbd, #man samp,
37
- #man h3, #man h4 {
38
- font-family:monospace;
39
- font-size:14px;
40
- line-height:1.42857142857143;
41
- }
42
- #man h2, #man ol.man, #man .man-navigation a {
43
- font-size:16px;
44
- line-height:1.25
45
- }
46
- #man h1 {
47
- font-size:20px;
48
- line-height:2;
49
- }
50
-
51
- /* TEXT STYLES */
52
-
53
- #man {
54
- text-align:justify;
55
- background:#fff;
56
- }
57
- #man, #man code, #man pre, #man pre code,
58
- #man tt, #man kbd, #man samp { color:#131211}
59
- #man h1, #man h2, #man h3, #man h4 { color:#030201}
60
- #man ol.man, #man ol.man li { color:#636261}
61
-
62
- #man code, #man strong, #man b {
63
- font-weight:bold;
64
- color:#131211;
65
- }
66
-
67
- #man em, #man var, #man u {
68
- font-style:italic;
69
- color:#434241;
70
- text-decoration:none;
71
- }
72
-
73
- #man pre {
74
- background:#edeceb;
75
- padding:5px 1ex;
76
- border-left:1ex solid #ddd;
77
- }
78
- #man pre code {
79
- font-weight:normal;
80
- background:inherit;
81
- }
82
-
83
- /* DOCUMENT HEADER AND FOOTER AREAS */
84
-
85
- #man ol.man, #man ol.man li {
86
- margin:3px 0 10px 0;
87
- padding:0;
88
- float:left;
89
- width:33%;
90
- list-style-type:none;
91
- text-transform:uppercase;
92
- color:#999;
93
- letter-spacing:1px;
94
- }
95
- #man ol.man { width:100%}
96
- #man ol.man li.tl { text-align:left}
97
- #man ol.man li.tc { text-align:center; letter-spacing:4px}
98
- #man ol.man li.tr { text-align:right; float:right}
99
-
100
- /* SECTION TOC NAVIGATION */
101
-
102
- #man div.man-navigation {
103
- position:fixed;
104
- top:0;
105
- left:106ex;
106
- height:100%;
107
- width:100%;
108
- padding:1ex 0 0 2ex;
109
- border-left:0.25ex solid #DCDCDC;
110
- background-color: #F5F5F5;
111
- }
112
- #man div.man-navigation a { display:block; margin-bottom:1.5ex}
113
- </style>
114
- <style type='text/css' media='print'>
115
- #man { max-width:none}
116
- #man div.man-navigation { display:none}
117
- #man a[href]:not([href^="#"]):not([data-bare-link]):after {
118
- content:" " attr(href);
119
- }
8
+ /* style: man */
9
+ body#manpage {margin:0}
10
+ .mp {max-width:100ex;padding:0 9ex 1ex 4ex}
11
+ .mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
12
+ .mp h2 {margin:10px 0 0 0}
13
+ .mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
14
+ .mp h3 {margin:0 0 0 4ex}
15
+ .mp dt {margin:0;clear:left}
16
+ .mp dt.flush {float:left;width:8ex}
17
+ .mp dd {margin:0 0 0 9ex}
18
+ .mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
19
+ .mp pre {margin-bottom:20px}
20
+ .mp pre+h2,.mp pre+h3 {margin-top:22px}
21
+ .mp h2+pre,.mp h3+pre {margin-top:5px}
22
+ .mp img {display:block;margin:auto}
23
+ .mp h1.man-title {display:none}
24
+ .mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
25
+ .mp h2 {font-size:16px;line-height:1.25}
26
+ .mp h1 {font-size:20px;line-height:2}
27
+ .mp {text-align:justify;background:#fff}
28
+ .mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
29
+ .mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
30
+ .mp u {text-decoration:underline}
31
+ .mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
32
+ .mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
33
+ .mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
34
+ .mp b.man-ref {font-weight:normal;color:#434241}
35
+ .mp pre {padding:0 4ex}
36
+ .mp pre code {font-weight:normal;color:#434241}
37
+ .mp h2+pre,h3+pre {padding-left:0}
38
+ ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
39
+ ol.man-decor {width:100%}
40
+ ol.man-decor li.tl {text-align:left}
41
+ ol.man-decor li.tc {text-align:center;letter-spacing:4px}
42
+ ol.man-decor li.tr {text-align:right;float:right}
120
43
  </style>
121
44
  </head>
45
+ <!--
46
+ The following styles are deprecated and will be removed at some point:
47
+ div#man, div#man ol.man, div#man ol.head, div#man ol.man.
48
+
49
+ The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
50
+ .man-navigation should be used instead.
51
+ -->
122
52
  <body id='manpage'>
123
- <div id='man'>
53
+ <div class='mp' id='man'>
124
54
 
125
- <div class='man-navigation'>
55
+ <div class='man-navigation' style='display:none'>
126
56
  <a href="#NAME">NAME</a>
127
57
  <a href="#SYNOPSIS">SYNOPSIS</a>
128
58
  <a href="#DESCRIPTION">DESCRIPTION</a>
129
59
  <a href="#CONFIGURATION">CONFIGURATION</a>
130
60
  <a href="#EXAMPLES">EXAMPLES</a>
131
61
  <a href="#BUGS">BUGS</a>
132
- <a href="#AUTHOR">AUTHOR</a>
62
+ <a href="#AUTHORS">AUTHORS</a>
133
63
  <a href="#SEE-ALSO">SEE ALSO</a>
134
64
  </div>
135
65
 
136
- <h1 class='man-title'>hub(1)</h1>
137
-
138
- <ol class='man head'>
66
+ <ol class='man-decor man-head man head'>
139
67
  <li class='tl'>hub(1)</li>
140
68
  <li class='tc'>Git Manual</li>
141
69
  <li class='tr'>hub(1)</li>
142
70
  </ol>
143
71
 
144
- <h2 id='NAME'>NAME</h2>
145
- <p><code>hub</code> - git + hub = github</p>
72
+ <h2 id="NAME">NAME</h2>
73
+ <p class="man-name">
74
+ <code>hub</code> - <span class="man-whatis">git + hub = github</span>
75
+ </p>
146
76
 
147
77
  <h2 id="SYNOPSIS">SYNOPSIS</h2>
148
78
 
@@ -150,15 +80,16 @@
150
80
  <code>hub alias</code> [<code>-s</code>] <var>SHELL</var></p>
151
81
 
152
82
  <p><code>git init -g</code> <var>OPTIONS</var><br />
153
- <code>git create</code> [<code>-p</code>] [<code>-d &lt;DESCRIPTION></code>] [<code>-h &lt;HOMEPAGE></code>]:
83
+ <code>git create</code> [<code>-p</code>] [<code>-d &lt;DESCRIPTION></code>] [<code>-h &lt;HOMEPAGE></code>]<br />
154
84
  <code>git clone</code> [<code>-p</code>] <var>OPTIONS</var> [<var>USER</var>/]<var>REPOSITORY</var> <var>DIRECTORY</var><br />
155
85
  <code>git remote add</code> [<code>-p</code>] <var>OPTIONS</var> <var>USER</var>[/<var>REPOSITORY</var>]<br />
156
86
  <code>git remote set-url</code> [<code>-p</code>] <var>OPTIONS</var> <var>REMOTE-NAME</var> <var>USER</var>[/<var>REPOSITORY</var>]<br />
157
87
  <code>git fetch</code> <var>USER-1</var>,[<var>USER-2</var>,...]<br />
158
88
  <code>git cherry-pick</code> <var>GITHUB-REF</var><br />
89
+ <code>git am</code> <var>GITHUB-URL</var><br />
159
90
  <code>git push</code> <var>REMOTE-1</var>,<var>REMOTE-2</var>,...,<var>REMOTE-N</var> <var>REF</var><br />
160
- <code>git browse</code> [<code>-p</code>] [<code>-u</code>] [[<var>USER</var><code>/</code>]<var>REPOSITORY</var>] [SUBPAGE]<br />
161
- <code>git compare</code> [<code>-p</code>] [<code>-u</code>] [<var>USER</var>] [<var>START</var>...]<var>END</var><br />
91
+ <code>git browse</code> [<code>-u</code>] [[<var>USER</var><code>/</code>]<var>REPOSITORY</var>] [SUBPAGE]<br />
92
+ <code>git compare</code> [<code>-u</code>] [<var>USER</var>] [<var>START</var>...]<var>END</var><br />
162
93
  <code>git submodule add</code> [<code>-p</code>] <var>OPTIONS</var> [<var>USER</var>/]<var>REPOSITORY</var> <var>DIRECTORY</var><br />
163
94
  <code>git fork</code> [<code>--no-remote</code>]</p>
164
95
 
@@ -174,24 +105,24 @@ Writes shell aliasing code for <var>SHELL</var> (<code>bash</code>, <code>sh</co
174
105
  this command can be evaluated directly within the shell:<br />
175
106
  <code>eval $(hub alias -s bash)</code></p></li>
176
107
  <li><p><code>git init</code> <code>-g</code> <var>OPTIONS</var>:
177
- Create a git repository as with git-init(1) and add remote <code>origin</code> at
108
+ Create a git repository as with <span class="man-ref">git-init<span class="s">(1)</span></span> and add remote <code>origin</code> at
178
109
  "git@github.com:<var>USER</var>/<var>REPOSITORY</var>.git"; <var>USER</var> is your GitHub username and
179
110
  <var>REPOSITORY</var> is the current working directory's basename.</p></li>
180
- <li><p><code>git create</code> [<code>-p</code>] [<code>-d &lt;DESCRIPTION></code>] [<code>-h &lt;HOMEPAGE></code>]:
111
+ <li><p><code>git create</code> [<code>-p</code>] [<code>-d &lt;DESCRIPTION></code>] [<code>-h &lt;HOMEPAGE></code>]:<br />
181
112
  Create a new public github repository from the current git
182
113
  repository and add remote <code>origin</code> at
183
114
  "git@github.com:<var>USER</var>/<var>REPOSITORY</var>.git"; <var>USER</var> is your GitHub
184
115
  username and <var>REPOSITORY</var> is the current working directory's
185
116
  basename. With <code>-p</code>, create a private repository. <code>-d</code> and <code>-h</code>
186
117
  set the repository's description and homepage, respectively.</p></li>
187
- <li><p><code>git clone</code> [<code>-p</code>] <var>OPTIONS</var> [<var>USER</var><code>/</code>]<var>REPOSITORY</var> <var>DIRECTORY</var>:
118
+ <li><p><code>git clone</code> [<code>-p</code>] <var>OPTIONS</var> [<var>USER</var><code>/</code>]<var>REPOSITORY</var> <var>DIRECTORY</var>:<br />
188
119
  Clone repository "git://github.com/<var>USER</var>/<var>REPOSITORY</var>.git" into
189
- <var>DIRECTORY</var> as with git-clone(1). When <var>USER</var>/ is omitted, assumes
120
+ <var>DIRECTORY</var> as with <span class="man-ref">git-clone<span class="s">(1)</span></span>. When <var>USER</var>/ is omitted, assumes
190
121
  your GitHub login. With <code>-p</code>, use private remote
191
122
  "git@github.com:<var>USER</var>/<var>REPOSITORY</var>.git".</p></li>
192
- <li><p><code>git remote add</code> [<code>-p</code>] <var>OPTIONS</var> <var>USER</var>[<code>/</code><var>REPOSITORY</var>]:
123
+ <li><p><code>git remote add</code> [<code>-p</code>] <var>OPTIONS</var> <var>USER</var>[<code>/</code><var>REPOSITORY</var>]:<br />
193
124
  Add remote "git://github.com/<var>USER</var>/<var>REPOSITORY</var>.git" as with
194
- git-remote(1). When /<var>REPOSITORY</var> is omitted, the basename of the
125
+ <span class="man-ref">git-remote<span class="s">(1)</span></span>. When /<var>REPOSITORY</var> is omitted, the basename of the
195
126
  current working directory is used. With <code>-p</code>, use private remote
196
127
  "git@github.com:<var>USER</var>/<var>REPOSITORY</var>.git". If <var>USER</var> is "origin"
197
128
  then uses your GitHub login.</p></li>
@@ -206,24 +137,28 @@ Cherry-pick a commit from a fork using either full URL to the commit
206
137
  or GitHub-flavored Markdown notation, which is <code>user@sha</code>. If the remote
207
138
  doesn't yet exist, it will be added. A <code>git fetch &lt;user></code> is issued
208
139
  prior to the cherry-pick attempt.</p></li>
140
+ <li><p><code>git am</code> <var>GITHUB-URL</var>:
141
+ Downloads the patch file for the pull request or commit at the URL and
142
+ applies that patch from disk with <code>git am</code>. Similar to <code>cherry-pick</code>, but
143
+ doesn't add new remotes.</p></li>
209
144
  <li><p><code>git push</code> <var>REMOTE-1</var>,<var>REMOTE-2</var>,...,<var>REMOTE-N</var> <var>REF</var>:
210
145
  Push <var>REF</var> to each of <var>REMOTE-1</var> through <var>REMOTE-N</var> by executing
211
146
  multiple <code>git push</code> commands.</p></li>
212
- <li><p><code>git browse</code> [<code>-p</code>] [<code>-u</code>] [[<var>USER</var><code>/</code>]<var>REPOSITORY</var>] [SUBPAGE]:
213
- Open repository's GitHub page in the system's default web browser
214
- using <code>open(1)</code> or the <code>BROWSER</code> env variable. Use <code>-p</code> to open a
215
- page with https. If the repository isn't specified, <code>browse</code> opens
216
- the page of the repository found in the current directory. If SUBPAGE
217
- is specified, the browser will open on the specified subpage: one of
218
- "wiki", "commits", "issues" or other (the default is "tree").</p></li>
219
- <li><p><code>git compare</code> [<code>-p</code>] [<code>-u</code>] [<var>USER</var>] [<var>START</var>...]<var>END</var>:
147
+ <li><p><code>git browse</code> [<code>-u</code>] [[<var>USER</var><code>/</code>]<var>REPOSITORY</var>] [SUBPAGE]:
148
+ Open repository's GitHub page in the system's default web browser using
149
+ <code>open(1)</code> or the <code>BROWSER</code> env variable. If the repository isn't
150
+ specified, <code>browse</code> opens the page of the repository found in the current
151
+ directory. If SUBPAGE is specified, the browser will open on the specified
152
+ subpage: one of "wiki", "commits", "issues" or other (the default is
153
+ "tree").</p></li>
154
+ <li><p><code>git compare</code> [<code>-u</code>] [<var>USER</var>] [<var>START</var>...]<var>END</var>:
220
155
  Open a GitHub compare view page in the system's default web browser.
221
156
  <var>START</var> to <var>END</var> are branch names, tag names, or commit SHA1s specifying
222
157
  the range of history to compare. If <var>START</var> is omitted, GitHub will
223
158
  compare against the base branch (the default is "master").</p></li>
224
- <li><p><code>git submodule add</code> [<code>-p</code>] <var>OPTIONS</var> [<var>USER</var>/]<var>REPOSITORY</var> <var>DIRECTORY</var>:
159
+ <li><p><code>git submodule add</code> [<code>-p</code>] <var>OPTIONS</var> [<var>USER</var>/]<var>REPOSITORY</var> <var>DIRECTORY</var>:<br />
225
160
  Submodule repository "git://github.com/<var>USER</var>/<var>REPOSITORY</var>.git" into
226
- <var>DIRECTORY</var> as with git-submodule(1). When <var>USER</var>/ is omitted, assumes
161
+ <var>DIRECTORY</var> as with <span class="man-ref">git-submodule<span class="s">(1)</span></span>. When <var>USER</var>/ is omitted, assumes
227
162
  your GitHub login. With <code>-p</code>, use private remote
228
163
  "git@github.com:<var>USER</var>/<var>REPOSITORY</var>.git".</p></li>
229
164
  <li><p><code>git fork</code> [<code>--no-remote</code>]:
@@ -231,13 +166,13 @@ Forks the original project (referenced by "origin" remote) on GitHub and
231
166
  adds a new remote for it under your username. Requires <code>github.token</code> to
232
167
  be set (see CONFIGURATION).</p></li>
233
168
  <li><p><code>git help</code>:
234
- Display enhanced git-help(1).</p></li>
169
+ Display enhanced <span class="man-ref">git-help<span class="s">(1)</span></span>.</p></li>
235
170
  </ul>
236
171
 
237
172
 
238
173
  <h2 id="CONFIGURATION">CONFIGURATION</h2>
239
174
 
240
- <p>Use git-config(1) to display the currently configured GitHub username:</p>
175
+ <p>Use <span class="man-ref">git-config<span class="s">(1)</span></span> to display the currently configured GitHub username:</p>
241
176
 
242
177
  <pre><code>$ git config --global github.user
243
178
  </code></pre>
@@ -257,6 +192,21 @@ cloning:</p>
257
192
  <pre><code>$ git config --global --bool hub.http-clone true
258
193
  </code></pre>
259
194
 
195
+ <p>Want to use environment variables instead of a local gitconfig for
196
+ authentication?</p>
197
+
198
+ <ul>
199
+ <li><code>GITHUB_USER</code> - If set, this will be used instead of the <code>github.user</code> config
200
+
201
+ <pre><code> value to determine your GitHub username.
202
+ </code></pre></li>
203
+ <li><code>GITHUB_TOKEN</code> - If set, this will be used instead of the <code>github.token</code>
204
+
205
+ <pre><code> config value to determine your GitHub API token.
206
+ </code></pre></li>
207
+ </ul>
208
+
209
+
260
210
  <h2 id="EXAMPLES">EXAMPLES</h2>
261
211
 
262
212
  <h3 id="git-clone">git clone</h3>
@@ -313,6 +263,17 @@ $ git cherry-pick mislav@SHA
313
263
  &gt; git cherry-pick SHA
314
264
  </code></pre>
315
265
 
266
+ <h3 id="git-am">git am</h3>
267
+
268
+ <pre><code>$ git am https://github.com/defunkt/hub/pull/55
269
+ &gt; curl https://github.com/defunkt/hub/pull/55.patch -o /tmp/55.patch
270
+ &gt; git am /tmp/55.patch
271
+
272
+ $ git am --ignore-whitespace https://github.com/davidbalbert/hub/commit/fdb9921
273
+ &gt; curl https://github.com/davidbalbert/hub/commit/fdb9921.patch -o /tmp/fdb9921.patch
274
+ &gt; git am --ignore-whitespace /tmp/fdb9921.patch
275
+ </code></pre>
276
+
316
277
  <h3 id="git-fork">git fork</h3>
317
278
 
318
279
  <pre><code>$ git fork
@@ -345,40 +306,34 @@ $ git cherry-pick mislav@SHA
345
306
  <h3 id="git-browse">git browse</h3>
346
307
 
347
308
  <pre><code>$ git browse
348
- &gt; open http://github.com/CURRENT_REPO
309
+ &gt; open https://github.com/CURRENT_REPO
349
310
 
350
311
  $ git browse -- issues
351
- &gt; open http://github.com/CURRENT_REPO/issues
312
+ &gt; open https://github.com/CURRENT_REPO/issues
352
313
 
353
314
  $ git browse schacon/ticgit
354
- &gt; open http://github.com/schacon/ticgit
355
-
356
- $ git browse -p schacon/ticgit
357
315
  &gt; open https://github.com/schacon/ticgit
358
316
 
359
317
  $ git browse resque
360
- &gt; open http://github.com/YOUR_USER/resque
318
+ &gt; open https://github.com/YOUR_USER/resque
361
319
 
362
320
  $ git browse resque network
363
- &gt; open http://github.com/YOUR_USER/resque/network
364
-
365
- $ git browse -p resque
366
- &gt; open https://github.com/YOUR_USER/resque
321
+ &gt; open https://github.com/YOUR_USER/resque/network
367
322
  </code></pre>
368
323
 
369
324
  <h3 id="git-compare">git compare</h3>
370
325
 
371
326
  <pre><code>$ git compare refactor
372
- &gt; open http://github.com/CURRENT_REPO/compare/refactor
327
+ &gt; open https://github.com/CURRENT_REPO/compare/refactor
373
328
 
374
329
  $ git compare 1.0...1.1
375
- &gt; open http://github.com/CURRENT_REPO/compare/1.0...1.1
330
+ &gt; open https://github.com/CURRENT_REPO/compare/1.0...1.1
376
331
 
377
332
  $ git compare -u fix
378
- &gt; (http://github.com/CURRENT_REPO/compare/fix)
333
+ &gt; (https://github.com/CURRENT_REPO/compare/fix)
379
334
 
380
335
  $ git compare other-user patch
381
- &gt; open http://github.com/other-user/REPO/compare/patch
336
+ &gt; open https://github.com/other-user/REPO/compare/patch
382
337
  </code></pre>
383
338
 
384
339
  <h3 id="git-help">git help</h3>
@@ -393,20 +348,20 @@ $ git help hub
393
348
 
394
349
  <p><a href="http://github.com/defunkt/hub/issues" data-bare-link="true">http://github.com/defunkt/hub/issues</a></p>
395
350
 
396
- <h2 id="AUTHOR">AUTHOR</h2>
351
+ <h2 id="AUTHORS">AUTHORS</h2>
397
352
 
398
- <p>Chris Wanstrath :: chris@ozmm.org :: @defunkt</p>
353
+ <p><a href="https://github.com/defunkt/hub/contributors" data-bare-link="true">https://github.com/defunkt/hub/contributors</a></p>
399
354
 
400
355
  <h2 id="SEE-ALSO">SEE ALSO</h2>
401
356
 
402
- <p>git(1), git-clone(1), git-remote(1), git-init(1),
357
+ <p><span class="man-ref">git<span class="s">(1)</span></span>, <span class="man-ref">git-clone<span class="s">(1)</span></span>, <span class="man-ref">git-remote<span class="s">(1)</span></span>, <span class="man-ref">git-init<span class="s">(1)</span></span>,
403
358
  <a href="http://github.com" data-bare-link="true">http://github.com</a>,
404
359
  <a href="http://github.com/defunkt/hub" data-bare-link="true">http://github.com/defunkt/hub</a></p>
405
360
 
406
361
 
407
- <ol class='man foot'>
362
+ <ol class='man-decor man-foot man foot'>
408
363
  <li class='tl'>DEFUNKT</li>
409
- <li class='tc'>August 2010</li>
364
+ <li class='tc'>December 2010</li>
410
365
  <li class='tr'>hub(1)</li>
411
366
  </ol>
412
367