Update git documentation
[TortoiseGit.git] / doc / source / en / TortoiseGit / git_doc / git-push.xml
blob71a3f09e0cbb699c943a795dca0c1d54e4784d24
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <!DOCTYPE sect2 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">\r
3 \r
4 <sect2 lang="en" id="git-push(1)">\r
5     <title>git-push(1)</title>\r
6 <indexterm>\r
7 <primary>git-push(1)</primary>\r
8 </indexterm>\r
9 <simplesect id="git-push(1)__name">\r
10 <title>NAME</title>\r
11 <simpara>git-push - Update remote refs along with associated objects</simpara>\r
12 </simplesect>\r
13 <simplesect id="git-push(1)__synopsis">\r
14 <title>SYNOPSIS</title>\r
15 <blockquote>\r
16 <literallayout><emphasis>git push</emphasis> [--all | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=&lt;git-receive-pack&gt;]\r
17            [--repo=&lt;repository&gt;] [-f | --force] [-d | --delete] [--prune] [-v | --verbose]\r
18            [-u | --set-upstream]\r
19            [--[no-]signed|--sign=(true|false|if-asked)]\r
20            [--force-with-lease[=&lt;refname&gt;[:&lt;expect&gt;]]]\r
21            [--no-verify] [&lt;repository&gt; [&lt;refspec&gt;&#8230;]]</literallayout>\r
22 </blockquote>\r
23 </simplesect>\r
24 <simplesect id="git-push(1)__description">\r
25 <title>DESCRIPTION</title>\r
26 <simpara>Updates remote refs using local refs, while sending objects\r
27 necessary to complete the given refs.</simpara>\r
28 <simpara>You can make interesting things happen to a repository\r
29 every time you push into it, by setting up <emphasis>hooks</emphasis> there.  See\r
30 documentation for <xref linkend="git-receive-pack(1)" />.</simpara>\r
31 <simpara>When the command line does not specify where to push with the\r
32 <emphasis>&lt;repository&gt;</emphasis> argument, <emphasis>branch.*.remote</emphasis> configuration for the\r
33 current branch is consulted to determine where to push.  If the\r
34 configuration is missing, it defaults to <emphasis>origin</emphasis>.</simpara>\r
35 <simpara>When the command line does not specify what to push with <emphasis>&lt;refspec&gt;...</emphasis>\r
36 arguments or <emphasis>--all</emphasis>, <emphasis>--mirror</emphasis>, <emphasis>--tags</emphasis> options, the command finds\r
37 the default <emphasis>&lt;refspec&gt;</emphasis> by consulting <emphasis>remote.*.push</emphasis> configuration,\r
38 and if it is not found, honors <emphasis>push.default</emphasis> configuration to decide\r
39 what to push (See <xref linkend="git-config(1)" /> for the meaning of <emphasis>push.default</emphasis>).</simpara>\r
40 <simpara>When neither the command-line nor the configuration specify what to\r
41 push, the default behavior is used, which corresponds to the <emphasis>simple</emphasis>\r
42 value for <emphasis>push.default</emphasis>: the current branch is pushed to the\r
43 corresponding upstream branch, but as a safety measure, the push is\r
44 aborted if the upstream branch does not have the same name as the\r
45 local one.</simpara>\r
46 </simplesect>\r
47 <simplesect id="git-push(1)__options_anchor_id_git_push_1__options_xreflabel_options">\r
48 <title>OPTIONS<anchor id="git-push(1)_OPTIONS" xreflabel="[OPTIONS]"/></title>\r
49 <variablelist>\r
50 <varlistentry>\r
51 <term>\r
52 &lt;repository&gt;\r
53 </term>\r
54 <listitem>\r
55 <simpara>\r
56         The "remote" repository that is destination of a push\r
57         operation.  This parameter can be either a URL\r
58         (see the section <link linkend="git-push(1)_URLS">GIT URLS</link> below) or the name\r
59         of a remote (see the section <link linkend="git-push(1)_REMOTES">REMOTES</link> below).\r
60 </simpara>\r
61 </listitem>\r
62 </varlistentry>\r
63 <varlistentry>\r
64 <term>\r
65 &lt;refspec&gt;&#8230;\r
66 </term>\r
67 <listitem>\r
68 <simpara>\r
69         Specify what destination ref to update with what source object.\r
70         The format of a &lt;refspec&gt; parameter is an optional plus\r
71         <emphasis>+</emphasis>, followed by the source object &lt;src&gt;, followed\r
72         by a colon <emphasis>:</emphasis>, followed by the destination ref &lt;dst&gt;.\r
73 </simpara>\r
74 <simpara>The &lt;src&gt; is often the name of the branch you would want to push, but\r
75 it can be any arbitrary "SHA-1 expression", such as <emphasis>master~4</emphasis> or\r
76 <emphasis>HEAD</emphasis> (see <xref linkend="gitrevisions(7)" />).</simpara>\r
77 <simpara>The &lt;dst&gt; tells which ref on the remote side is updated with this\r
78 push. Arbitrary expressions cannot be used here, an actual ref must\r
79 be named.\r
80 If <emphasis>git push [&lt;repository&gt;]</emphasis> without any <emphasis>&lt;refspec&gt;</emphasis> argument is set to\r
81 update some ref at the destination with <emphasis>&lt;src&gt;</emphasis> with\r
82 <emphasis>remote.&lt;repository&gt;.push</emphasis> configuration variable, <emphasis>:&lt;dst&gt;</emphasis> part can\r
83 be omitted--such a push will update a ref that <emphasis>&lt;src&gt;</emphasis> normally updates\r
84 without any <emphasis>&lt;refspec&gt;</emphasis> on the command line.  Otherwise, missing\r
85 <emphasis>:&lt;dst&gt;</emphasis> means to update the same ref as the <emphasis>&lt;src&gt;</emphasis>.</simpara>\r
86 <simpara>The object referenced by &lt;src&gt; is used to update the &lt;dst&gt; reference\r
87 on the remote side.  By default this is only allowed if &lt;dst&gt; is not\r
88 a tag (annotated or lightweight), and then only if it can fast-forward\r
89 &lt;dst&gt;.  By having the optional leading <emphasis>+</emphasis>, you can tell Git to update\r
90 the &lt;dst&gt; ref even if it is not allowed by default (e.g., it is not a\r
91 fast-forward.)  This does <emphasis role="strong">not</emphasis> attempt to merge &lt;src&gt; into &lt;dst&gt;.  See\r
92 EXAMPLES below for details.</simpara>\r
93 <simpara><emphasis>tag &lt;tag&gt;</emphasis> means the same as <emphasis>refs/tags/&lt;tag&gt;:refs/tags/&lt;tag&gt;</emphasis>.</simpara>\r
94 <simpara>Pushing an empty &lt;src&gt; allows you to delete the &lt;dst&gt; ref from\r
95 the remote repository.</simpara>\r
96 <simpara>The special refspec <emphasis>:</emphasis> (or <emphasis>+:</emphasis> to allow non-fast-forward updates)\r
97 directs Git to push "matching" branches: for every branch that exists on\r
98 the local side, the remote side is updated if a branch of the same name\r
99 already exists on the remote side.</simpara>\r
100 </listitem>\r
101 </varlistentry>\r
102 <varlistentry>\r
103 <term>\r
104 --all\r
105 </term>\r
106 <listitem>\r
107 <simpara>\r
108         Push all branches (i.e. refs under <emphasis>refs/heads/</emphasis>); cannot be\r
109         used with other &lt;refspec&gt;.\r
110 </simpara>\r
111 </listitem>\r
112 </varlistentry>\r
113 <varlistentry>\r
114 <term>\r
115 --prune\r
116 </term>\r
117 <listitem>\r
118 <simpara>\r
119         Remove remote branches that don't have a local counterpart. For example\r
120         a remote branch <emphasis>tmp</emphasis> will be removed if a local branch with the same\r
121         name doesn't exist any more. This also respects refspecs, e.g.\r
122         <emphasis>git push --prune remote refs/heads/*:refs/tmp/*</emphasis> would\r
123         make sure that remote <emphasis>refs/tmp/foo</emphasis> will be removed if <emphasis>refs/heads/foo</emphasis>\r
124         doesn't exist.\r
125 </simpara>\r
126 </listitem>\r
127 </varlistentry>\r
128 <varlistentry>\r
129 <term>\r
130 --mirror\r
131 </term>\r
132 <listitem>\r
133 <simpara>\r
134         Instead of naming each ref to push, specifies that all\r
135         refs under <emphasis>refs/</emphasis> (which includes but is not\r
136         limited to <emphasis>refs/heads/</emphasis>, <emphasis>refs/remotes/</emphasis>, and <emphasis>refs/tags/</emphasis>)\r
137         be mirrored to the remote repository.  Newly created local\r
138         refs will be pushed to the remote end, locally updated refs\r
139         will be force updated on the remote end, and deleted refs\r
140         will be removed from the remote end.  This is the default\r
141         if the configuration option <emphasis>remote.&lt;remote&gt;.mirror</emphasis> is\r
142         set.\r
143 </simpara>\r
144 </listitem>\r
145 </varlistentry>\r
146 <varlistentry>\r
147 <term>\r
148 -n\r
149 </term>\r
150 <term>\r
151 --dry-run\r
152 </term>\r
153 <listitem>\r
154 <simpara>\r
155         Do everything except actually send the updates.\r
156 </simpara>\r
157 </listitem>\r
158 </varlistentry>\r
159 <varlistentry>\r
160 <term>\r
161 --porcelain\r
162 </term>\r
163 <listitem>\r
164 <simpara>\r
165         Produce machine-readable output.  The output status line for each ref\r
166         will be tab-separated and sent to stdout instead of stderr.  The full\r
167         symbolic names of the refs will be given.\r
168 </simpara>\r
169 </listitem>\r
170 </varlistentry>\r
171 <varlistentry>\r
172 <term>\r
173 --delete\r
174 </term>\r
175 <listitem>\r
176 <simpara>\r
177         All listed refs are deleted from the remote repository. This is\r
178         the same as prefixing all refs with a colon.\r
179 </simpara>\r
180 </listitem>\r
181 </varlistentry>\r
182 <varlistentry>\r
183 <term>\r
184 --tags\r
185 </term>\r
186 <listitem>\r
187 <simpara>\r
188         All refs under <emphasis>refs/tags</emphasis> are pushed, in\r
189         addition to refspecs explicitly listed on the command\r
190         line.\r
191 </simpara>\r
192 </listitem>\r
193 </varlistentry>\r
194 <varlistentry>\r
195 <term>\r
196 --follow-tags\r
197 </term>\r
198 <listitem>\r
199 <simpara>\r
200         Push all the refs that would be pushed without this option,\r
201         and also push annotated tags in <emphasis>refs/tags</emphasis> that are missing\r
202         from the remote but are pointing at commit-ish that are\r
203         reachable from the refs being pushed.  This can also be specified\r
204         with configuration variable <emphasis>push.followTags</emphasis>.  For more\r
205         information, see <emphasis>push.followTags</emphasis> in <xref linkend="git-config(1)" />.\r
206 </simpara>\r
207 </listitem>\r
208 </varlistentry>\r
209 <varlistentry>\r
210 <term>\r
211 --[no-]signed\r
212 </term>\r
213 <term>\r
214 --sign=(true|false|if-asked)\r
215 </term>\r
216 <listitem>\r
217 <simpara>\r
218         GPG-sign the push request to update refs on the receiving\r
219         side, to allow it to be checked by the hooks and/or be\r
220         logged.  If <emphasis>false</emphasis> or <emphasis>--no-signed</emphasis>, no signing will be\r
221         attempted.  If <emphasis>true</emphasis> or <emphasis>--signed</emphasis>, the push will fail if the\r
222         server does not support signed pushes.  If set to <emphasis>if-asked</emphasis>,\r
223         sign if and only if the server supports signed pushes.  The push\r
224         will also fail if the actual call to <emphasis>gpg --sign</emphasis> fails.  See\r
225         <xref linkend="git-receive-pack(1)" /> for the details on the receiving end.\r
226 </simpara>\r
227 </listitem>\r
228 </varlistentry>\r
229 <varlistentry>\r
230 <term>\r
231 --[no-]atomic\r
232 </term>\r
233 <listitem>\r
234 <simpara>\r
235         Use an atomic transaction on the remote side if available.\r
236         Either all refs are updated, or on error, no refs are updated.\r
237         If the server does not support atomic pushes the push will fail.\r
238 </simpara>\r
239 </listitem>\r
240 </varlistentry>\r
241 <varlistentry>\r
242 <term>\r
243 --receive-pack=&lt;git-receive-pack&gt;\r
244 </term>\r
245 <term>\r
246 --exec=&lt;git-receive-pack&gt;\r
247 </term>\r
248 <listitem>\r
249 <simpara>\r
250         Path to the <emphasis>git-receive-pack</emphasis> program on the remote\r
251         end.  Sometimes useful when pushing to a remote\r
252         repository over ssh, and you do not have the program in\r
253         a directory on the default $PATH.\r
254 </simpara>\r
255 </listitem>\r
256 </varlistentry>\r
257 <varlistentry>\r
258 <term>\r
259 --[no-]force-with-lease\r
260 </term>\r
261 <term>\r
262 --force-with-lease=&lt;refname&gt;\r
263 </term>\r
264 <term>\r
265 --force-with-lease=&lt;refname&gt;:&lt;expect&gt;\r
266 </term>\r
267 <listitem>\r
268 <simpara>\r
269         Usually, "git push" refuses to update a remote ref that is\r
270         not an ancestor of the local ref used to overwrite it.\r
271 </simpara>\r
272 <simpara>This option overrides this restriction if the current value of the\r
273 remote ref is the expected value.  "git push" fails otherwise.</simpara>\r
274 <simpara>Imagine that you have to rebase what you have already published.\r
275 You will have to bypass the "must fast-forward" rule in order to\r
276 replace the history you originally published with the rebased history.\r
277 If somebody else built on top of your original history while you are\r
278 rebasing, the tip of the branch at the remote may advance with her\r
279 commit, and blindly pushing with <emphasis>--force</emphasis> will lose her work.</simpara>\r
280 <simpara>This option allows you to say that you expect the history you are\r
281 updating is what you rebased and want to replace. If the remote ref\r
282 still points at the commit you specified, you can be sure that no\r
283 other people did anything to the ref. It is like taking a "lease" on\r
284 the ref without explicitly locking it, and the remote ref is updated\r
285 only if the "lease" is still valid.</simpara>\r
286 <simpara><emphasis>--force-with-lease</emphasis> alone, without specifying the details, will protect\r
287 all remote refs that are going to be updated by requiring their\r
288 current value to be the same as the remote-tracking branch we have\r
289 for them.</simpara>\r
290 <simpara><emphasis>--force-with-lease=&lt;refname&gt;</emphasis>, without specifying the expected value, will\r
291 protect the named ref (alone), if it is going to be updated, by\r
292 requiring its current value to be the same as the remote-tracking\r
293 branch we have for it.</simpara>\r
294 <simpara><emphasis>--force-with-lease=&lt;refname&gt;:&lt;expect&gt;</emphasis> will protect the named ref (alone),\r
295 if it is going to be updated, by requiring its current value to be\r
296 the same as the specified value &lt;expect&gt; (which is allowed to be\r
297 different from the remote-tracking branch we have for the refname,\r
298 or we do not even have to have such a remote-tracking branch when\r
299 this form is used).</simpara>\r
300 <simpara>Note that all forms other than <emphasis>--force-with-lease=&lt;refname&gt;:&lt;expect&gt;</emphasis>\r
301 that specifies the expected current value of the ref explicitly are\r
302 still experimental and their semantics may change as we gain experience\r
303 with this feature.</simpara>\r
304 <simpara>"--no-force-with-lease" will cancel all the previous --force-with-lease on the\r
305 command line.</simpara>\r
306 </listitem>\r
307 </varlistentry>\r
308 <varlistentry>\r
309 <term>\r
310 -f\r
311 </term>\r
312 <term>\r
313 --force\r
314 </term>\r
315 <listitem>\r
316 <simpara>\r
317         Usually, the command refuses to update a remote ref that is\r
318         not an ancestor of the local ref used to overwrite it.\r
319         Also, when <emphasis>--force-with-lease</emphasis> option is used, the command refuses\r
320         to update a remote ref whose current value does not match\r
321         what is expected.\r
322 </simpara>\r
323 <simpara>This flag disables these checks, and can cause the remote repository\r
324 to lose commits; use it with care.</simpara>\r
325 <simpara>Note that <emphasis>--force</emphasis> applies to all the refs that are pushed, hence\r
326 using it with <emphasis>push.default</emphasis> set to <emphasis>matching</emphasis> or with multiple push\r
327 destinations configured with <emphasis>remote.*.push</emphasis> may overwrite refs\r
328 other than the current branch (including local refs that are\r
329 strictly behind their remote counterpart).  To force a push to only\r
330 one branch, use a <emphasis>+</emphasis> in front of the refspec to push (e.g <emphasis>git push\r
331 origin +master</emphasis> to force a push to the <emphasis>master</emphasis> branch). See the\r
332 <emphasis>&lt;refspec&gt;...</emphasis> section above for details.</simpara>\r
333 </listitem>\r
334 </varlistentry>\r
335 <varlistentry>\r
336 <term>\r
337 --repo=&lt;repository&gt;\r
338 </term>\r
339 <listitem>\r
340 <simpara>\r
341         This option is equivalent to the &lt;repository&gt; argument. If both\r
342         are specified, the command-line argument takes precedence.\r
343 </simpara>\r
344 </listitem>\r
345 </varlistentry>\r
346 <varlistentry>\r
347 <term>\r
348 -u\r
349 </term>\r
350 <term>\r
351 --set-upstream\r
352 </term>\r
353 <listitem>\r
354 <simpara>\r
355         For every branch that is up to date or successfully pushed, add\r
356         upstream (tracking) reference, used by argument-less\r
357         <xref linkend="git-pull(1)" /> and other commands. For more information,\r
358         see <emphasis>branch.&lt;name&gt;.merge</emphasis> in <xref linkend="git-config(1)" />.\r
359 </simpara>\r
360 </listitem>\r
361 </varlistentry>\r
362 <varlistentry>\r
363 <term>\r
364 --[no-]thin\r
365 </term>\r
366 <listitem>\r
367 <simpara>\r
368         These options are passed to <xref linkend="git-send-pack(1)" />. A thin transfer\r
369         significantly reduces the amount of sent data when the sender and\r
370         receiver share many of the same objects in common. The default is\r
371         --thin.\r
372 </simpara>\r
373 </listitem>\r
374 </varlistentry>\r
375 <varlistentry>\r
376 <term>\r
377 -q\r
378 </term>\r
379 <term>\r
380 --quiet\r
381 </term>\r
382 <listitem>\r
383 <simpara>\r
384         Suppress all output, including the listing of updated refs,\r
385         unless an error occurs. Progress is not reported to the standard\r
386         error stream.\r
387 </simpara>\r
388 </listitem>\r
389 </varlistentry>\r
390 <varlistentry>\r
391 <term>\r
392 -v\r
393 </term>\r
394 <term>\r
395 --verbose\r
396 </term>\r
397 <listitem>\r
398 <simpara>\r
399         Run verbosely.\r
400 </simpara>\r
401 </listitem>\r
402 </varlistentry>\r
403 <varlistentry>\r
404 <term>\r
405 --progress\r
406 </term>\r
407 <listitem>\r
408 <simpara>\r
409         Progress status is reported on the standard error stream\r
410         by default when it is attached to a terminal, unless -q\r
411         is specified. This flag forces progress status even if the\r
412         standard error stream is not directed to a terminal.\r
413 </simpara>\r
414 </listitem>\r
415 </varlistentry>\r
416 <varlistentry>\r
417 <term>\r
418 --no-recurse-submodules\r
419 </term>\r
420 <term>\r
421 --recurse-submodules=check|on-demand|no\r
422 </term>\r
423 <listitem>\r
424 <simpara>\r
425         May be used to make sure all submodule commits used by the\r
426         revisions to be pushed are available on a remote-tracking branch.\r
427         If <emphasis>check</emphasis> is used Git will verify that all submodule commits that\r
428         changed in the revisions to be pushed are available on at least one\r
429         remote of the submodule. If any commits are missing the push will\r
430         be aborted and exit with non-zero status. If <emphasis>on-demand</emphasis> is used\r
431         all submodules that changed in the revisions to be pushed will be\r
432         pushed. If on-demand was not able to push all necessary revisions\r
433         it will also be aborted and exit with non-zero status. A value of\r
434         <emphasis>no</emphasis> or using <emphasis>--no-recurse-submodules</emphasis> can be used to override the\r
435         push.recurseSubmodules configuration variable when no submodule\r
436         recursion is required.\r
437 </simpara>\r
438 </listitem>\r
439 </varlistentry>\r
440 <varlistentry>\r
441 <term>\r
442 --[no-]verify\r
443 </term>\r
444 <listitem>\r
445 <simpara>\r
446         Toggle the pre-push hook (see <xref linkend="githooks(5)" />).  The\r
447         default is --verify, giving the hook a chance to prevent the\r
448         push.  With --no-verify, the hook is bypassed completely.\r
449 </simpara>\r
450 </listitem>\r
451 </varlistentry>\r
452 <varlistentry>\r
453 <term>\r
454 -4\r
455 </term>\r
456 <term>\r
457 --ipv4\r
458 </term>\r
459 <listitem>\r
460 <simpara>\r
461         Use IPv4 addresses only, ignoring IPv6 addresses.\r
462 </simpara>\r
463 </listitem>\r
464 </varlistentry>\r
465 <varlistentry>\r
466 <term>\r
467 -6\r
468 </term>\r
469 <term>\r
470 --ipv6\r
471 </term>\r
472 <listitem>\r
473 <simpara>\r
474         Use IPv6 addresses only, ignoring IPv4 addresses.\r
475 </simpara>\r
476 </listitem>\r
477 </varlistentry>\r
478 </variablelist>\r
479 </simplesect>\r
480 <simplesect id="git-push(1)__git_urls_anchor_id_git_push_1__urls_xreflabel_urls">\r
481 <title>GIT URLS<anchor id="git-push(1)_URLS" xreflabel="[URLS]"/></title>\r
482 <simpara>In general, URLs contain information about the transport protocol, the\r
483 address of the remote server, and the path to the repository.\r
484 Depending on the transport protocol, some of this information may be\r
485 absent.</simpara>\r
486 <simpara>Git supports ssh, git, http, and https protocols (in addition, ftp,\r
487 and ftps can be used for fetching, but this is inefficient and\r
488 deprecated; do not use it).</simpara>\r
489 <simpara>The native transport (i.e. git:// URL) does no authentication and\r
490 should be used with caution on unsecured networks.</simpara>\r
491 <simpara>The following syntaxes may be used with them:</simpara>\r
492 <itemizedlist>\r
493 <listitem>\r
494 <simpara>\r
495 ssh://&#91;user@&#93;host.xz&#91;:port&#93;/path/to/repo.git/\r
496 </simpara>\r
497 </listitem>\r
498 <listitem>\r
499 <simpara>\r
500 git://host.xz&#91;:port&#93;/path/to/repo.git/\r
501 </simpara>\r
502 </listitem>\r
503 <listitem>\r
504 <simpara>\r
505 http&#91;s&#93;://host.xz&#91;:port&#93;/path/to/repo.git/\r
506 </simpara>\r
507 </listitem>\r
508 <listitem>\r
509 <simpara>\r
510 ftp&#91;s&#93;://host.xz&#91;:port&#93;/path/to/repo.git/\r
511 </simpara>\r
512 </listitem>\r
513 </itemizedlist>\r
514 <simpara>An alternative scp-like syntax may also be used with the ssh protocol:</simpara>\r
515 <itemizedlist>\r
516 <listitem>\r
517 <simpara>\r
518 &#91;user@&#93;host.xz:path/to/repo.git/\r
519 </simpara>\r
520 </listitem>\r
521 </itemizedlist>\r
522 <simpara>This syntax is only recognized if there are no slashes before the\r
523 first colon. This helps differentiate a local path that contains a\r
524 colon. For example the local path <emphasis>foo:bar</emphasis> could be specified as an\r
525 absolute path or <emphasis>./foo:bar</emphasis> to avoid being misinterpreted as an ssh\r
526 url.</simpara>\r
527 <simpara>The ssh and git protocols additionally support ~username expansion:</simpara>\r
528 <itemizedlist>\r
529 <listitem>\r
530 <simpara>\r
531 ssh://&#91;user@&#93;host.xz&#91;:port&#93;/~&#91;user&#93;/path/to/repo.git/\r
532 </simpara>\r
533 </listitem>\r
534 <listitem>\r
535 <simpara>\r
536 git://host.xz&#91;:port&#93;/~&#91;user&#93;/path/to/repo.git/\r
537 </simpara>\r
538 </listitem>\r
539 <listitem>\r
540 <simpara>\r
541 &#91;user@&#93;host.xz:/~&#91;user&#93;/path/to/repo.git/\r
542 </simpara>\r
543 </listitem>\r
544 </itemizedlist>\r
545 <simpara>For local repositories, also supported by Git natively, the following\r
546 syntaxes may be used:</simpara>\r
547 <itemizedlist>\r
548 <listitem>\r
549 <simpara>\r
550 /path/to/repo.git/\r
551 </simpara>\r
552 </listitem>\r
553 <listitem>\r
554 <simpara>\r
555 file:///path/to/repo.git/\r
556 </simpara>\r
557 </listitem>\r
558 </itemizedlist>\r
559 <simpara>These two syntaxes are mostly equivalent, except when cloning, when\r
560 the former implies --local option. See <xref linkend="git-clone(1)" /> for\r
561 details.</simpara>\r
562 <simpara>When Git doesn't know how to handle a certain transport protocol, it\r
563 attempts to use the <emphasis>remote-&lt;transport&gt;</emphasis> remote helper, if one\r
564 exists. To explicitly request a remote helper, the following syntax\r
565 may be used:</simpara>\r
566 <itemizedlist>\r
567 <listitem>\r
568 <simpara>\r
569 &lt;transport&gt;::&lt;address&gt;\r
570 </simpara>\r
571 </listitem>\r
572 </itemizedlist>\r
573 <simpara>where &lt;address&gt; may be a path, a server and path, or an arbitrary\r
574 URL-like string recognized by the specific remote helper being\r
575 invoked. See <xref linkend="gitremote-helpers(1)" /> for details.</simpara>\r
576 <simpara>If there are a large number of similarly-named remote repositories and\r
577 you want to use a different format for them (such that the URLs you\r
578 use will be rewritten into URLs that work), you can create a\r
579 configuration section of the form:</simpara>\r
580 <screen>        [url "&lt;actual url base&gt;"]\r
581                 insteadOf = &lt;other url base&gt;</screen>\r
582 <simpara>For example, with this:</simpara>\r
583 <screen>        [url "git://git.host.xz/"]\r
584                 insteadOf = host.xz:/path/to/\r
585                 insteadOf = work:</screen>\r
586 <simpara>a URL like "work:repo.git" or like "host.xz:/path/to/repo.git" will be\r
587 rewritten in any context that takes a URL to be "git://git.host.xz/repo.git".</simpara>\r
588 <simpara>If you want to rewrite URLs for push only, you can create a\r
589 configuration section of the form:</simpara>\r
590 <screen>        [url "&lt;actual url base&gt;"]\r
591                 pushInsteadOf = &lt;other url base&gt;</screen>\r
592 <simpara>For example, with this:</simpara>\r
593 <screen>        [url "ssh://example.org/"]\r
594                 pushInsteadOf = git://example.org/</screen>\r
595 <simpara>a URL like "git://example.org/path/to/repo.git" will be rewritten to\r
596 "ssh://example.org/path/to/repo.git" for pushes, but pulls will still\r
597 use the original URL.</simpara>\r
598 </simplesect>\r
599 <simplesect id="git-push(1)__remotes_anchor_id_git_push_1__remotes_xreflabel_remotes">\r
600 <title>REMOTES<anchor id="git-push(1)_REMOTES" xreflabel="[REMOTES]"/></title>\r
601 <simpara>The name of one of the following can be used instead\r
602 of a URL as <emphasis>&lt;repository&gt;</emphasis> argument:</simpara>\r
603 <itemizedlist>\r
604 <listitem>\r
605 <simpara>\r
606 a remote in the Git configuration file: <emphasis>$GIT_DIR/config</emphasis>,\r
607 </simpara>\r
608 </listitem>\r
609 <listitem>\r
610 <simpara>\r
611 a file in the <emphasis>$GIT_DIR/remotes</emphasis> directory, or\r
612 </simpara>\r
613 </listitem>\r
614 <listitem>\r
615 <simpara>\r
616 a file in the <emphasis>$GIT_DIR/branches</emphasis> directory.\r
617 </simpara>\r
618 </listitem>\r
619 </itemizedlist>\r
620 <simpara>All of these also allow you to omit the refspec from the command line\r
621 because they each contain a refspec which git will use by default.</simpara>\r
622 <section id="git-push(1)__named_remote_in_configuration_file">\r
623 <title>Named remote in configuration file</title>\r
624 <simpara>You can choose to provide the name of a remote which you had previously\r
625 configured using <xref linkend="git-remote(1)" />, <xref linkend="git-config(1)" />\r
626 or even by a manual edit to the <emphasis>$GIT_DIR/config</emphasis> file.  The URL of\r
627 this remote will be used to access the repository.  The refspec\r
628 of this remote will be used by default when you do\r
629 not provide a refspec on the command line.  The entry in the\r
630 config file would appear like this:</simpara>\r
631 <screen>        [remote "&lt;name&gt;"]\r
632                 url = &lt;url&gt;\r
633                 pushurl = &lt;pushurl&gt;\r
634                 push = &lt;refspec&gt;\r
635                 fetch = &lt;refspec&gt;</screen>\r
636 <simpara>The <emphasis>&lt;pushurl&gt;</emphasis> is used for pushes only. It is optional and defaults\r
637 to <emphasis>&lt;url&gt;</emphasis>.</simpara>\r
638 </section>\r
639 <section id="git-push(1)__named_file_in_emphasis_git_dir_remotes_emphasis">\r
640 <title>Named file in <emphasis>$GIT_DIR/remotes</emphasis></title>\r
641 <simpara>You can choose to provide the name of a\r
642 file in <emphasis>$GIT_DIR/remotes</emphasis>.  The URL\r
643 in this file will be used to access the repository.  The refspec\r
644 in this file will be used as default when you do not\r
645 provide a refspec on the command line.  This file should have the\r
646 following format:</simpara>\r
647 <screen>        URL: one of the above URL format\r
648         Push: &lt;refspec&gt;\r
649         Pull: &lt;refspec&gt;</screen>\r
650 <simpara><emphasis>Push:</emphasis> lines are used by <emphasis>git push</emphasis> and\r
651 <emphasis>Pull:</emphasis> lines are used by <emphasis>git pull</emphasis> and <emphasis>git fetch</emphasis>.\r
652 Multiple <emphasis>Push:</emphasis> and <emphasis>Pull:</emphasis> lines may\r
653 be specified for additional branch mappings.</simpara>\r
654 </section>\r
655 <section id="git-push(1)__named_file_in_emphasis_git_dir_branches_emphasis">\r
656 <title>Named file in <emphasis>$GIT_DIR/branches</emphasis></title>\r
657 <simpara>You can choose to provide the name of a\r
658 file in <emphasis>$GIT_DIR/branches</emphasis>.\r
659 The URL in this file will be used to access the repository.\r
660 This file should have the following format:</simpara>\r
661 <screen>        &lt;url&gt;#&lt;head&gt;</screen>\r
662 <simpara><emphasis>&lt;url&gt;</emphasis> is required; <emphasis>#&lt;head&gt;</emphasis> is optional.</simpara>\r
663 <simpara>Depending on the operation, git will use one of the following\r
664 refspecs, if you don't provide one on the command line.\r
665 <emphasis>&lt;branch&gt;</emphasis> is the name of this file in <emphasis>$GIT_DIR/branches</emphasis> and\r
666 <emphasis>&lt;head&gt;</emphasis> defaults to <emphasis>master</emphasis>.</simpara>\r
667 <simpara>git fetch uses:</simpara>\r
668 <screen>        refs/heads/&lt;head&gt;:refs/heads/&lt;branch&gt;</screen>\r
669 <simpara>git push uses:</simpara>\r
670 <screen>        HEAD:refs/heads/&lt;head&gt;</screen>\r
671 </section>\r
672 </simplesect>\r
673 <simplesect id="git-push(1)__output">\r
674 <title>OUTPUT</title>\r
675 <simpara>The output of "git push" depends on the transport method used; this\r
676 section describes the output when pushing over the Git protocol (either\r
677 locally or via ssh).</simpara>\r
678 <simpara>The status of the push is output in tabular form, with each line\r
679 representing the status of a single ref. Each line is of the form:</simpara>\r
680 <screen> &lt;flag&gt; &lt;summary&gt; &lt;from&gt; -&gt; &lt;to&gt; (&lt;reason&gt;)</screen>\r
681 <simpara>If --porcelain is used, then each line of the output is of the form:</simpara>\r
682 <screen> &lt;flag&gt; \t &lt;from&gt;:&lt;to&gt; \t &lt;summary&gt; (&lt;reason&gt;)</screen>\r
683 <simpara>The status of up-to-date refs is shown only if --porcelain or --verbose\r
684 option is used.</simpara>\r
685 <variablelist>\r
686 <varlistentry>\r
687 <term>\r
688 flag\r
689 </term>\r
690 <listitem>\r
691 <simpara>\r
692         A single character indicating the status of the ref:\r
693 </simpara>\r
694 <variablelist>\r
695 <varlistentry>\r
696 <term>\r
697 (space)\r
698 </term>\r
699 <listitem>\r
700 <simpara>\r
701 for a successfully pushed fast-forward;\r
702 </simpara>\r
703 </listitem>\r
704 </varlistentry>\r
705 <varlistentry>\r
706 <term>\r
707 <emphasis>+</emphasis>\r
708 </term>\r
709 <listitem>\r
710 <simpara>\r
711 for a successful forced update;\r
712 </simpara>\r
713 </listitem>\r
714 </varlistentry>\r
715 <varlistentry>\r
716 <term>\r
717 <emphasis>-</emphasis>\r
718 </term>\r
719 <listitem>\r
720 <simpara>\r
721 for a successfully deleted ref;\r
722 </simpara>\r
723 </listitem>\r
724 </varlistentry>\r
725 <varlistentry>\r
726 <term>\r
727 <emphasis>*</emphasis>\r
728 </term>\r
729 <listitem>\r
730 <simpara>\r
731 for a successfully pushed new ref;\r
732 </simpara>\r
733 </listitem>\r
734 </varlistentry>\r
735 <varlistentry>\r
736 <term>\r
737 <emphasis>!</emphasis>\r
738 </term>\r
739 <listitem>\r
740 <simpara>\r
741 for a ref that was rejected or failed to push; and\r
742 </simpara>\r
743 </listitem>\r
744 </varlistentry>\r
745 <varlistentry>\r
746 <term>\r
747 <emphasis>=</emphasis>\r
748 </term>\r
749 <listitem>\r
750 <simpara>\r
751 for a ref that was up to date and did not need pushing.\r
752 </simpara>\r
753 </listitem>\r
754 </varlistentry>\r
755 </variablelist>\r
756 </listitem>\r
757 </varlistentry>\r
758 <varlistentry>\r
759 <term>\r
760 summary\r
761 </term>\r
762 <listitem>\r
763 <simpara>\r
764         For a successfully pushed ref, the summary shows the old and new\r
765         values of the ref in a form suitable for using as an argument to\r
766         <emphasis>git log</emphasis> (this is <emphasis>&lt;old&gt;..&lt;new&gt;</emphasis> in most cases, and\r
767         <emphasis>&lt;old&gt;...&lt;new&gt;</emphasis> for forced non-fast-forward updates).\r
768 </simpara>\r
769 <simpara>For a failed update, more details are given:</simpara>\r
770 <variablelist>\r
771 <varlistentry>\r
772 <term>\r
773 rejected\r
774 </term>\r
775 <listitem>\r
776 <simpara>\r
777         Git did not try to send the ref at all, typically because it\r
778         is not a fast-forward and you did not force the update.\r
779 </simpara>\r
780 </listitem>\r
781 </varlistentry>\r
782 <varlistentry>\r
783 <term>\r
784 remote rejected\r
785 </term>\r
786 <listitem>\r
787 <simpara>\r
788         The remote end refused the update.  Usually caused by a hook\r
789         on the remote side, or because the remote repository has one\r
790         of the following safety options in effect:\r
791         <emphasis>receive.denyCurrentBranch</emphasis> (for pushes to the checked out\r
792         branch), <emphasis>receive.denyNonFastForwards</emphasis> (for forced\r
793         non-fast-forward updates), <emphasis>receive.denyDeletes</emphasis> or\r
794         <emphasis>receive.denyDeleteCurrent</emphasis>.  See <xref linkend="git-config(1)" />.\r
795 </simpara>\r
796 </listitem>\r
797 </varlistentry>\r
798 <varlistentry>\r
799 <term>\r
800 remote failure\r
801 </term>\r
802 <listitem>\r
803 <simpara>\r
804         The remote end did not report the successful update of the ref,\r
805         perhaps because of a temporary error on the remote side, a\r
806         break in the network connection, or other transient error.\r
807 </simpara>\r
808 </listitem>\r
809 </varlistentry>\r
810 </variablelist>\r
811 </listitem>\r
812 </varlistentry>\r
813 <varlistentry>\r
814 <term>\r
815 from\r
816 </term>\r
817 <listitem>\r
818 <simpara>\r
819         The name of the local ref being pushed, minus its\r
820         <emphasis>refs/&lt;type&gt;/</emphasis> prefix. In the case of deletion, the\r
821         name of the local ref is omitted.\r
822 </simpara>\r
823 </listitem>\r
824 </varlistentry>\r
825 <varlistentry>\r
826 <term>\r
827 to\r
828 </term>\r
829 <listitem>\r
830 <simpara>\r
831         The name of the remote ref being updated, minus its\r
832         <emphasis>refs/&lt;type&gt;/</emphasis> prefix.\r
833 </simpara>\r
834 </listitem>\r
835 </varlistentry>\r
836 <varlistentry>\r
837 <term>\r
838 reason\r
839 </term>\r
840 <listitem>\r
841 <simpara>\r
842         A human-readable explanation. In the case of successfully pushed\r
843         refs, no explanation is needed. For a failed ref, the reason for\r
844         failure is described.\r
845 </simpara>\r
846 </listitem>\r
847 </varlistentry>\r
848 </variablelist>\r
849 </simplesect>\r
850 <simplesect id="git-push(1)__note_about_fast_forwards">\r
851 <title>Note about fast-forwards</title>\r
852 <simpara>When an update changes a branch (or more in general, a ref) that used to\r
853 point at commit A to point at another commit B, it is called a\r
854 fast-forward update if and only if B is a descendant of A.</simpara>\r
855 <simpara>In a fast-forward update from A to B, the set of commits that the original\r
856 commit A built on top of is a subset of the commits the new commit B\r
857 builds on top of.  Hence, it does not lose any history.</simpara>\r
858 <simpara>In contrast, a non-fast-forward update will lose history.  For example,\r
859 suppose you and somebody else started at the same commit X, and you built\r
860 a history leading to commit B while the other person built a history\r
861 leading to commit A.  The history looks like this:</simpara>\r
862 <screen>      B\r
863      /\r
864  ---X---A</screen>\r
865 <simpara>Further suppose that the other person already pushed changes leading to A\r
866 back to the original repository from which you two obtained the original\r
867 commit X.</simpara>\r
868 <simpara>The push done by the other person updated the branch that used to point at\r
869 commit X to point at commit A.  It is a fast-forward.</simpara>\r
870 <simpara>But if you try to push, you will attempt to update the branch (that\r
871 now points at A) with commit B.  This does <emphasis>not</emphasis> fast-forward.  If you did\r
872 so, the changes introduced by commit A will be lost, because everybody\r
873 will now start building on top of B.</simpara>\r
874 <simpara>The command by default does not allow an update that is not a fast-forward\r
875 to prevent such loss of history.</simpara>\r
876 <simpara>If you do not want to lose your work (history from X to B) or the work by\r
877 the other person (history from X to A), you would need to first fetch the\r
878 history from the repository, create a history that contains changes done\r
879 by both parties, and push the result back.</simpara>\r
880 <simpara>You can perform "git pull", resolve potential conflicts, and "git push"\r
881 the result.  A "git pull" will create a merge commit C between commits A\r
882 and B.</simpara>\r
883 <screen>      B---C\r
884      /   /\r
885  ---X---A</screen>\r
886 <simpara>Updating A with the resulting merge commit will fast-forward and your\r
887 push will be accepted.</simpara>\r
888 <simpara>Alternatively, you can rebase your change between X and B on top of A,\r
889 with "git pull --rebase", and push the result back.  The rebase will\r
890 create a new commit D that builds the change between X and B on top of\r
891 A.</simpara>\r
892 <screen>      B   D\r
893      /   /\r
894  ---X---A</screen>\r
895 <simpara>Again, updating A with this commit will fast-forward and your push will be\r
896 accepted.</simpara>\r
897 <simpara>There is another common situation where you may encounter non-fast-forward\r
898 rejection when you try to push, and it is possible even when you are\r
899 pushing into a repository nobody else pushes into. After you push commit\r
900 A yourself (in the first picture in this section), replace it with "git\r
901 commit --amend" to produce commit B, and you try to push it out, because\r
902 forgot that you have pushed A out already. In such a case, and only if\r
903 you are certain that nobody in the meantime fetched your earlier commit A\r
904 (and started building on top of it), you can run "git push --force" to\r
905 overwrite it. In other words, "git push --force" is a method reserved for\r
906 a case where you do mean to lose history.</simpara>\r
907 </simplesect>\r
908 <simplesect id="git-push(1)__examples">\r
909 <title>Examples</title>\r
910 <variablelist>\r
911 <varlistentry>\r
912 <term>\r
913 <emphasis>git push</emphasis>\r
914 </term>\r
915 <listitem>\r
916 <simpara>\r
917         Works like <emphasis>git push &lt;remote&gt;</emphasis>, where &lt;remote&gt; is the\r
918         current branch's remote (or <emphasis>origin</emphasis>, if no remote is\r
919         configured for the current branch).\r
920 </simpara>\r
921 </listitem>\r
922 </varlistentry>\r
923 <varlistentry>\r
924 <term>\r
925 <emphasis>git push origin</emphasis>\r
926 </term>\r
927 <listitem>\r
928 <simpara>\r
929         Without additional configuration, pushes the current branch to\r
930         the configured upstream (<emphasis>remote.origin.merge</emphasis> configuration\r
931         variable) if it has the same name as the current branch, and\r
932         errors out without pushing otherwise.\r
933 </simpara>\r
934 <simpara>The default behavior of this command when no &lt;refspec&gt; is given can be\r
935 configured by setting the <emphasis>push</emphasis> option of the remote, or the <emphasis>push.default</emphasis>\r
936 configuration variable.</simpara>\r
937 <simpara>For example, to default to pushing only the current branch to <emphasis>origin</emphasis>\r
938 use <emphasis>git config remote.origin.push HEAD</emphasis>.  Any valid &lt;refspec&gt; (like\r
939 the ones in the examples below) can be configured as the default for\r
940 <emphasis>git push origin</emphasis>.</simpara>\r
941 </listitem>\r
942 </varlistentry>\r
943 <varlistentry>\r
944 <term>\r
945 <emphasis>git push origin :</emphasis>\r
946 </term>\r
947 <listitem>\r
948 <simpara>\r
949         Push "matching" branches to <emphasis>origin</emphasis>. See\r
950         &lt;refspec&gt; in the <link linkend="git-push(1)_OPTIONS">OPTIONS</link> section above for a\r
951         description of "matching" branches.\r
952 </simpara>\r
953 </listitem>\r
954 </varlistentry>\r
955 <varlistentry>\r
956 <term>\r
957 <emphasis>git push origin master</emphasis>\r
958 </term>\r
959 <listitem>\r
960 <simpara>\r
961         Find a ref that matches <emphasis>master</emphasis> in the source repository\r
962         (most likely, it would find <emphasis>refs/heads/master</emphasis>), and update\r
963         the same ref (e.g. <emphasis>refs/heads/master</emphasis>) in <emphasis>origin</emphasis> repository\r
964         with it.  If <emphasis>master</emphasis> did not exist remotely, it would be\r
965         created.\r
966 </simpara>\r
967 </listitem>\r
968 </varlistentry>\r
969 <varlistentry>\r
970 <term>\r
971 <emphasis>git push origin HEAD</emphasis>\r
972 </term>\r
973 <listitem>\r
974 <simpara>\r
975         A handy way to push the current branch to the same name on the\r
976         remote.\r
977 </simpara>\r
978 </listitem>\r
979 </varlistentry>\r
980 <varlistentry>\r
981 <term>\r
982 <emphasis>git push mothership master:satellite/master dev:satellite/dev</emphasis>\r
983 </term>\r
984 <listitem>\r
985 <simpara>\r
986         Use the source ref that matches <emphasis>master</emphasis> (e.g. <emphasis>refs/heads/master</emphasis>)\r
987         to update the ref that matches <emphasis>satellite/master</emphasis> (most probably\r
988         <emphasis>refs/remotes/satellite/master</emphasis>) in the <emphasis>mothership</emphasis> repository;\r
989         do the same for <emphasis>dev</emphasis> and <emphasis>satellite/dev</emphasis>.\r
990 </simpara>\r
991 <simpara>This is to emulate <emphasis>git fetch</emphasis> run on the <emphasis>mothership</emphasis> using <emphasis>git\r
992 push</emphasis> that is run in the opposite direction in order to integrate\r
993 the work done on <emphasis>satellite</emphasis>, and is often necessary when you can\r
994 only make connection in one way (i.e. satellite can ssh into\r
995 mothership but mothership cannot initiate connection to satellite\r
996 because the latter is behind a firewall or does not run sshd).</simpara>\r
997 <simpara>After running this <emphasis>git push</emphasis> on the <emphasis>satellite</emphasis> machine, you would\r
998 ssh into the <emphasis>mothership</emphasis> and run <emphasis>git merge</emphasis> there to complete the\r
999 emulation of <emphasis>git pull</emphasis> that were run on <emphasis>mothership</emphasis> to pull changes\r
1000 made on <emphasis>satellite</emphasis>.</simpara>\r
1001 </listitem>\r
1002 </varlistentry>\r
1003 <varlistentry>\r
1004 <term>\r
1005 <emphasis>git push origin HEAD:master</emphasis>\r
1006 </term>\r
1007 <listitem>\r
1008 <simpara>\r
1009         Push the current branch to the remote ref matching <emphasis>master</emphasis> in the\r
1010         <emphasis>origin</emphasis> repository. This form is convenient to push the current\r
1011         branch without thinking about its local name.\r
1012 </simpara>\r
1013 </listitem>\r
1014 </varlistentry>\r
1015 <varlistentry>\r
1016 <term>\r
1017 <emphasis>git push origin master:refs/heads/experimental</emphasis>\r
1018 </term>\r
1019 <listitem>\r
1020 <simpara>\r
1021         Create the branch <emphasis>experimental</emphasis> in the <emphasis>origin</emphasis> repository\r
1022         by copying the current <emphasis>master</emphasis> branch.  This form is only\r
1023         needed to create a new branch or tag in the remote repository when\r
1024         the local name and the remote name are different; otherwise,\r
1025         the ref name on its own will work.\r
1026 </simpara>\r
1027 </listitem>\r
1028 </varlistentry>\r
1029 <varlistentry>\r
1030 <term>\r
1031 <emphasis>git push origin :experimental</emphasis>\r
1032 </term>\r
1033 <listitem>\r
1034 <simpara>\r
1035         Find a ref that matches <emphasis>experimental</emphasis> in the <emphasis>origin</emphasis> repository\r
1036         (e.g. <emphasis>refs/heads/experimental</emphasis>), and delete it.\r
1037 </simpara>\r
1038 </listitem>\r
1039 </varlistentry>\r
1040 <varlistentry>\r
1041 <term>\r
1042 <emphasis>git push origin +dev:master</emphasis>\r
1043 </term>\r
1044 <listitem>\r
1045 <simpara>\r
1046         Update the origin repository's master branch with the dev branch,\r
1047         allowing non-fast-forward updates.  <emphasis role="strong">This can leave unreferenced\r
1048         commits dangling in the origin repository.</emphasis>  Consider the\r
1049         following situation, where a fast-forward is not possible:\r
1050 </simpara>\r
1051 <screen>            o---o---o---A---B  origin/master\r
1052                      \\r
1053                       X---Y---Z  dev</screen>\r
1054 <simpara>The above command would change the origin repository to</simpara>\r
1055 <screen>                      A---B  (unnamed branch)\r
1056                      /\r
1057             o---o---o---X---Y---Z  master</screen>\r
1058 <simpara>Commits A and B would no longer belong to a branch with a symbolic name,\r
1059 and so would be unreachable.  As such, these commits would be removed by\r
1060 a <emphasis>git gc</emphasis> command on the origin repository.</simpara>\r
1061 </listitem>\r
1062 </varlistentry>\r
1063 </variablelist>\r
1064 </simplesect>\r
1065 <simplesect id="git-push(1)__git">\r
1066 <title>GIT</title>\r
1067 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>\r
1068 </simplesect>\r
1069 </sect2>\r