forked from mislav/hub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhub-am.1.html
119 lines (106 loc) · 2.32 KB
/
hub-am.1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!doctype html>
<title>hub-am(1) - Replicate commits from a GitHub pull request locally.</title>
<meta charset="utf-8">
<style>
body {
margin: 0;
font: 15px/1.4 -apple-system,Segoe UI,Helvetica,Arial,sans-serif;
}
pre, code, var, dt, .man-head, [id="synopsis"] + p {
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;
}
header, footer {
padding: .5em 2em;
}
.man-head {
color: #999;
padding: 0;
width: 100%;
float: left;
list-style-type: none;
}
header .man-head {
text-transform: uppercase;
}
.man-head li {
width: 33%;
float: left;
}
.tl { text-align: left }
.tc { text-align: center }
.tr { text-align: right; float: right }
article {
max-width: 110ex;
margin: 4em auto 2em;
}
h1 {
font-size: 1em;
font-weight: normal;
}
h2 {
text-transform: uppercase;
}
code {
color: darkslategray;
font-weight: bold;
}
var {
color: orangered;
font-weight: normal;
font-style: normal;
}
dt {
margin: .5em 0;
}
dd {
margin-bottom: 1em;
}
pre, [id="synopsis"] + p {
background: #eee;
padding: 1em 1.5em;
}
[id="synopsis"] + p {
white-space: nowrap;
overflow-x: auto;
}
pre code {
color: inherit;
font-weight: inherit;
}
var::before { content: "<" }
var::after { content: ">" }
a:link, a:hover, a:visited { color: blue }
</style>
<header>
<ol class="man-head">
<li class="tl">hub-am(1)</li>
<li class="tc">hub manual</li>
<li class="tr">hub-am(1)</li>
</ol>
</header>
<article>
<h1>Replicate commits from a GitHub pull request locally.</h1>
<h2 id="synopsis">Synopsis</h2>
<p><code>hub am</code> [-3] <var>GITHUB-URL</var></p>
<h2 id="options">Options</h2>
<dl>
<dt>-3</dt>
<dd>(Recommended) See git-am(1).</dd>
<dt><var>GITHUB-URL</var></dt>
<dd>A URL to a pull request or commit on GitHub.</dd>
</dl>
<h2 id="examples">Examples</h2>
<pre><code>$ hub am -3 https://github.com/jingweno/gh/pull/55
> curl https://github.com/jingweno/gh/pull/55.patch -o /tmp/55.patch
> git am -3 /tmp/55.patch
</code></pre>
<h2 id="see-also">See also</h2>
<p><a href="./hub-apply.1.html">hub-apply(1)</a>, <a href="./hub-cherry-pick.1.html">hub-cherry-pick(1)</a>, <a href="./hub.1.html">hub(1)</a>, git-am(1)</p>
</article>
<footer>
<ol class="man-head">
<li class="tl">hub version 2.14.2</li>
<li class="tc">05 Mar 2020</li>
<li class="tr"></li>
</ol>
</footer>