Autogenerated HTML docs for v1.7.5.1-339-gb602ed
[git/jnareb-git.git] / git-pull.html
bloba92f9454407137b3c9618cbaf5ff9c196d9a948f
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <meta name="generator" content="AsciiDoc 8.4.5" />
7 <title>git-pull(1)</title>
8 <style type="text/css">
9 /* Debug borders */
10 p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
12 border: 1px solid red;
16 body {
17 margin: 1em 5% 1em 5%;
20 a {
21 color: blue;
22 text-decoration: underline;
24 a:visited {
25 color: fuchsia;
28 em {
29 font-style: italic;
30 color: navy;
33 strong {
34 font-weight: bold;
35 color: #083194;
38 tt {
39 color: navy;
42 h1, h2, h3, h4, h5, h6 {
43 color: #527bbd;
44 font-family: sans-serif;
45 margin-top: 1.2em;
46 margin-bottom: 0.5em;
47 line-height: 1.3;
50 h1, h2, h3 {
51 border-bottom: 2px solid silver;
53 h2 {
54 padding-top: 0.5em;
56 h3 {
57 float: left;
59 h3 + * {
60 clear: left;
63 div.sectionbody {
64 font-family: serif;
65 margin-left: 0;
68 hr {
69 border: 1px solid silver;
72 p {
73 margin-top: 0.5em;
74 margin-bottom: 0.5em;
77 ul, ol, li > p {
78 margin-top: 0;
81 pre {
82 padding: 0;
83 margin: 0;
86 span#author {
87 color: #527bbd;
88 font-family: sans-serif;
89 font-weight: bold;
90 font-size: 1.1em;
92 span#email {
94 span#revnumber, span#revdate, span#revremark {
95 font-family: sans-serif;
98 div#footer {
99 font-family: sans-serif;
100 font-size: small;
101 border-top: 2px solid silver;
102 padding-top: 0.5em;
103 margin-top: 4.0em;
105 div#footer-text {
106 float: left;
107 padding-bottom: 0.5em;
109 div#footer-badges {
110 float: right;
111 padding-bottom: 0.5em;
114 div#preamble {
115 margin-top: 1.5em;
116 margin-bottom: 1.5em;
118 div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
119 div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
120 div.admonitionblock {
121 margin-top: 1.5em;
122 margin-bottom: 1.5em;
124 div.admonitionblock {
125 margin-top: 2.5em;
126 margin-bottom: 2.5em;
129 div.content { /* Block element content. */
130 padding: 0;
133 /* Block element titles. */
134 div.title, caption.title {
135 color: #527bbd;
136 font-family: sans-serif;
137 font-weight: bold;
138 text-align: left;
139 margin-top: 1.0em;
140 margin-bottom: 0.5em;
142 div.title + * {
143 margin-top: 0;
146 td div.title:first-child {
147 margin-top: 0.0em;
149 div.content div.title:first-child {
150 margin-top: 0.0em;
152 div.content + div.title {
153 margin-top: 0.0em;
156 div.sidebarblock > div.content {
157 background: #ffffee;
158 border: 1px solid silver;
159 padding: 0.5em;
162 div.listingblock > div.content {
163 border: 1px solid silver;
164 background: #f4f4f4;
165 padding: 0.5em;
168 div.quoteblock {
169 padding-left: 2.0em;
170 margin-right: 10%;
172 div.quoteblock > div.attribution {
173 padding-top: 0.5em;
174 text-align: right;
177 div.verseblock {
178 padding-left: 2.0em;
179 margin-right: 10%;
181 div.verseblock > div.content {
182 white-space: pre;
184 div.verseblock > div.attribution {
185 padding-top: 0.75em;
186 text-align: left;
188 /* DEPRECATED: Pre version 8.2.7 verse style literal block. */
189 div.verseblock + div.attribution {
190 text-align: left;
193 div.admonitionblock .icon {
194 vertical-align: top;
195 font-size: 1.1em;
196 font-weight: bold;
197 text-decoration: underline;
198 color: #527bbd;
199 padding-right: 0.5em;
201 div.admonitionblock td.content {
202 padding-left: 0.5em;
203 border-left: 2px solid silver;
206 div.exampleblock > div.content {
207 border-left: 2px solid silver;
208 padding: 0.5em;
211 div.imageblock div.content { padding-left: 0; }
212 span.image img { border-style: none; }
213 a.image:visited { color: white; }
215 dl {
216 margin-top: 0.8em;
217 margin-bottom: 0.8em;
219 dt {
220 margin-top: 0.5em;
221 margin-bottom: 0;
222 font-style: normal;
223 color: navy;
225 dd > *:first-child {
226 margin-top: 0.1em;
229 ul, ol {
230 list-style-position: outside;
232 ol.arabic {
233 list-style-type: decimal;
235 ol.loweralpha {
236 list-style-type: lower-alpha;
238 ol.upperalpha {
239 list-style-type: upper-alpha;
241 ol.lowerroman {
242 list-style-type: lower-roman;
244 ol.upperroman {
245 list-style-type: upper-roman;
248 div.compact ul, div.compact ol,
249 div.compact p, div.compact p,
250 div.compact div, div.compact div {
251 margin-top: 0.1em;
252 margin-bottom: 0.1em;
255 div.tableblock > table {
256 border: 3px solid #527bbd;
258 thead {
259 font-family: sans-serif;
260 font-weight: bold;
262 tfoot {
263 font-weight: bold;
265 td > div.verse {
266 white-space: pre;
268 p.table {
269 margin-top: 0;
271 /* Because the table frame attribute is overriden by CSS in most browsers. */
272 div.tableblock > table[frame="void"] {
273 border-style: none;
275 div.tableblock > table[frame="hsides"] {
276 border-left-style: none;
277 border-right-style: none;
279 div.tableblock > table[frame="vsides"] {
280 border-top-style: none;
281 border-bottom-style: none;
285 div.hdlist {
286 margin-top: 0.8em;
287 margin-bottom: 0.8em;
289 div.hdlist tr {
290 padding-bottom: 15px;
292 dt.hdlist1.strong, td.hdlist1.strong {
293 font-weight: bold;
295 td.hdlist1 {
296 vertical-align: top;
297 font-style: normal;
298 padding-right: 0.8em;
299 color: navy;
301 td.hdlist2 {
302 vertical-align: top;
304 div.hdlist.compact tr {
305 margin: 0;
306 padding-bottom: 0;
309 .comment {
310 background: yellow;
313 @media print {
314 div#footer-badges { display: none; }
317 div#toctitle {
318 color: #527bbd;
319 font-family: sans-serif;
320 font-size: 1.1em;
321 font-weight: bold;
322 margin-top: 1.0em;
323 margin-bottom: 0.1em;
326 div.toclevel1, div.toclevel2, div.toclevel3, div.toclevel4 {
327 margin-top: 0;
328 margin-bottom: 0;
330 div.toclevel2 {
331 margin-left: 2em;
332 font-size: 0.9em;
334 div.toclevel3 {
335 margin-left: 4em;
336 font-size: 0.9em;
338 div.toclevel4 {
339 margin-left: 6em;
340 font-size: 0.9em;
342 /* Overrides for manpage documents */
343 h1 {
344 padding-top: 0.5em;
345 padding-bottom: 0.5em;
346 border-top: 2px solid silver;
347 border-bottom: 2px solid silver;
349 h2 {
350 border-style: none;
352 div.sectionbody {
353 margin-left: 5%;
356 @media print {
357 div#toc { display: none; }
360 /* Workarounds for IE6's broken and incomplete CSS2. */
362 div.sidebar-content {
363 background: #ffffee;
364 border: 1px solid silver;
365 padding: 0.5em;
367 div.sidebar-title, div.image-title {
368 color: #527bbd;
369 font-family: sans-serif;
370 font-weight: bold;
371 margin-top: 0.0em;
372 margin-bottom: 0.5em;
375 div.listingblock div.content {
376 border: 1px solid silver;
377 background: #f4f4f4;
378 padding: 0.5em;
381 div.quoteblock-attribution {
382 padding-top: 0.5em;
383 text-align: right;
386 div.verseblock-content {
387 white-space: pre;
389 div.verseblock-attribution {
390 padding-top: 0.75em;
391 text-align: left;
394 div.exampleblock-content {
395 border-left: 2px solid silver;
396 padding-left: 0.5em;
399 /* IE6 sets dynamically generated links as visited. */
400 div#toc a:visited { color: blue; }
401 </style>
402 </head>
403 <body>
404 <div id="header">
405 <h1>
406 git-pull(1) Manual Page
407 </h1>
408 <h2>NAME</h2>
409 <div class="sectionbody">
410 <p>git-pull -
411 Fetch from and merge with another repository or a local branch
412 </p>
413 </div>
414 </div>
415 <h2 id="_synopsis">SYNOPSIS</h2>
416 <div class="sectionbody">
417 <div class="paragraph"><p><em>git pull</em> [options] [&lt;repository&gt; [&lt;refspec&gt;&#8230;]]</p></div>
418 </div>
419 <h2 id="_description">DESCRIPTION</h2>
420 <div class="sectionbody">
421 <div class="paragraph"><p>Incorporates changes from a remote repository into the current
422 branch. In its default mode, <tt>git pull</tt> is shorthand for
423 <tt>git fetch</tt> followed by <tt>git merge FETCH_HEAD</tt>.</p></div>
424 <div class="paragraph"><p>More precisely, <em>git pull</em> runs <em>git fetch</em> with the given
425 parameters and calls <em>git merge</em> to merge the retrieved branch
426 heads into the current branch.
427 With <tt>--rebase</tt>, it runs <em>git rebase</em> instead of <em>git merge</em>.</p></div>
428 <div class="paragraph"><p>&lt;repository&gt; should be the name of a remote repository as
429 passed to <a href="git-fetch.html">git-fetch(1)</a>. &lt;refspec&gt; can name an
430 arbitrary remote ref (for example, the name of a tag) or even
431 a collection of refs with corresponding remote-tracking branches
432 (e.g., refs/heads/&#42;:refs/remotes/origin/&#42;),
433 but usually it is the name of a branch in the remote repository.</p></div>
434 <div class="paragraph"><p>Default values for &lt;repository&gt; and &lt;branch&gt; are read from the
435 "remote" and "merge" configuration for the current branch
436 as set by <a href="git-branch.html">git-branch(1)</a> <tt>--track</tt>.</p></div>
437 <div class="paragraph"><p>Assume the following history exists and the current branch is
438 "<tt>master</tt>":</p></div>
439 <div class="listingblock">
440 <div class="content">
441 <pre><tt> A---B---C master on origin
443 D---E---F---G master</tt></pre>
444 </div></div>
445 <div class="paragraph"><p>Then "<tt>git pull</tt>" will fetch and replay the changes from the remote
446 <tt>master</tt> branch since it diverged from the local <tt>master</tt> (i.e., <tt>E</tt>)
447 until its current commit (<tt>C</tt>) on top of <tt>master</tt> and record the
448 result in a new commit along with the names of the two parent commits
449 and a log message from the user describing the changes.</p></div>
450 <div class="listingblock">
451 <div class="content">
452 <pre><tt> A---B---C remotes/origin/master
454 D---E---F---G---H master</tt></pre>
455 </div></div>
456 <div class="paragraph"><p>See <a href="git-merge.html">git-merge(1)</a> for details, including how conflicts
457 are presented and handled.</p></div>
458 <div class="paragraph"><p>In git 1.7.0 or later, to cancel a conflicting merge, use
459 <tt>git reset --merge</tt>. <strong>Warning</strong>: In older versions of git, running <em>git pull</em>
460 with uncommitted changes is discouraged: while possible, it leaves you
461 in a state that may be hard to back out of in the case of a conflict.</p></div>
462 <div class="paragraph"><p>If any of the remote changes overlap with local uncommitted changes,
463 the merge will be automatically cancelled and the work tree untouched.
464 It is generally best to get any local changes in working order before
465 pulling or stash them away with <a href="git-stash.html">git-stash(1)</a>.</p></div>
466 </div>
467 <h2 id="_options">OPTIONS</h2>
468 <div class="sectionbody">
469 <div class="paragraph"><p>Options meant for <em>git pull</em> itself and the underlying <em>git merge</em>
470 must be given before the options meant for <em>git fetch</em>.</p></div>
471 <div class="dlist"><dl>
472 <dt class="hdlist1">
474 </dt>
475 <dt class="hdlist1">
476 --quiet
477 </dt>
478 <dd>
480 This is passed to both underlying git-fetch to squelch reporting of
481 during transfer, and underlying git-merge to squelch output during
482 merging.
483 </p>
484 </dd>
485 <dt class="hdlist1">
487 </dt>
488 <dt class="hdlist1">
489 --verbose
490 </dt>
491 <dd>
493 Pass --verbose to git-fetch and git-merge.
494 </p>
495 </dd>
496 <dt class="hdlist1">
497 --[no-]recurse-submodules[=yes|on-demand|no]
498 </dt>
499 <dd>
501 This option controls if new commits of all populated submodules should
502 be fetched too (see <a href="git-config.html">git-config(1)</a> and <a href="gitmodules.html">gitmodules(5)</a>).
503 That might be necessary to get the data needed for merging submodule
504 commits, a feature git learned in 1.7.3. Notice that the result of a
505 merge will not be checked out in the submodule, "git submodule update"
506 has to be called afterwards to bring the work tree up to date with the
507 merge result.
508 </p>
509 </dd>
510 </dl></div>
511 <h3 id="_options_related_to_merging">Options related to merging</h3><div style="clear:left"></div>
512 <div class="dlist"><dl>
513 <dt class="hdlist1">
514 --commit
515 </dt>
516 <dt class="hdlist1">
517 --no-commit
518 </dt>
519 <dd>
521 Perform the merge and commit the result. This option can
522 be used to override --no-commit.
523 </p>
524 <div class="paragraph"><p>With --no-commit perform the merge but pretend the merge
525 failed and do not autocommit, to give the user a chance to
526 inspect and further tweak the merge result before committing.</p></div>
527 </dd>
528 <dt class="hdlist1">
529 --ff
530 </dt>
531 <dt class="hdlist1">
532 --no-ff
533 </dt>
534 <dd>
536 Do not generate a merge commit if the merge resolved as
537 a fast-forward, only update the branch pointer. This is
538 the default behavior of git-merge.
539 </p>
540 <div class="paragraph"><p>With --no-ff Generate a merge commit even if the merge
541 resolved as a fast-forward.</p></div>
542 </dd>
543 <dt class="hdlist1">
544 --log[=&lt;n&gt;]
545 </dt>
546 <dt class="hdlist1">
547 --no-log
548 </dt>
549 <dd>
551 In addition to branch names, populate the log message with
552 one-line descriptions from at most &lt;n&gt; actual commits that are being
553 merged. See also <a href="git-fmt-merge-msg.html">git-fmt-merge-msg(1)</a>.
554 </p>
555 <div class="paragraph"><p>With --no-log do not list one-line descriptions from the
556 actual commits being merged.</p></div>
557 </dd>
558 <dt class="hdlist1">
559 --stat
560 </dt>
561 <dt class="hdlist1">
563 </dt>
564 <dt class="hdlist1">
565 --no-stat
566 </dt>
567 <dd>
569 Show a diffstat at the end of the merge. The diffstat is also
570 controlled by the configuration option merge.stat.
571 </p>
572 <div class="paragraph"><p>With -n or --no-stat do not show a diffstat at the end of the
573 merge.</p></div>
574 </dd>
575 <dt class="hdlist1">
576 --squash
577 </dt>
578 <dt class="hdlist1">
579 --no-squash
580 </dt>
581 <dd>
583 Produce the working tree and index state as if a real
584 merge happened (except for the merge information),
585 but do not actually make a commit or
586 move the <tt>HEAD</tt>, nor record <tt>$GIT_DIR/MERGE_HEAD</tt> to
587 cause the next <tt>git commit</tt> command to create a merge
588 commit. This allows you to create a single commit on
589 top of the current branch whose effect is the same as
590 merging another branch (or more in case of an octopus).
591 </p>
592 <div class="paragraph"><p>With --no-squash perform the merge and commit the result. This
593 option can be used to override --squash.</p></div>
594 </dd>
595 <dt class="hdlist1">
596 --ff-only
597 </dt>
598 <dd>
600 Refuse to merge and exit with a non-zero status unless the
601 current <tt>HEAD</tt> is already up-to-date or the merge can be
602 resolved as a fast-forward.
603 </p>
604 </dd>
605 <dt class="hdlist1">
606 -s &lt;strategy&gt;
607 </dt>
608 <dt class="hdlist1">
609 --strategy=&lt;strategy&gt;
610 </dt>
611 <dd>
613 Use the given merge strategy; can be supplied more than
614 once to specify them in the order they should be tried.
615 If there is no <tt>-s</tt> option, a built-in list of strategies
616 is used instead (<em>git merge-recursive</em> when merging a single
617 head, <em>git merge-octopus</em> otherwise).
618 </p>
619 </dd>
620 <dt class="hdlist1">
621 -X &lt;option&gt;
622 </dt>
623 <dt class="hdlist1">
624 --strategy-option=&lt;option&gt;
625 </dt>
626 <dd>
628 Pass merge strategy specific option through to the merge
629 strategy.
630 </p>
631 </dd>
632 <dt class="hdlist1">
633 --summary
634 </dt>
635 <dt class="hdlist1">
636 --no-summary
637 </dt>
638 <dd>
640 Synonyms to --stat and --no-stat; these are deprecated and will be
641 removed in the future.
642 </p>
643 </dd>
644 <dt class="hdlist1">
646 </dt>
647 <dt class="hdlist1">
648 --quiet
649 </dt>
650 <dd>
652 Operate quietly. Implies --no-progress.
653 </p>
654 </dd>
655 <dt class="hdlist1">
657 </dt>
658 <dt class="hdlist1">
659 --verbose
660 </dt>
661 <dd>
663 Be verbose.
664 </p>
665 </dd>
666 <dt class="hdlist1">
667 --progress
668 </dt>
669 <dt class="hdlist1">
670 --no-progress
671 </dt>
672 <dd>
674 Turn progress on/off explicitly. If neither is specified,
675 progress is shown if standard error is connected to a terminal.
676 Note that not all merge strategies may support progress
677 reporting.
678 </p>
679 </dd>
680 </dl></div>
681 <div class="dlist"><dl>
682 <dt class="hdlist1">
683 --rebase
684 </dt>
685 <dd>
687 Rebase the current branch on top of the upstream branch after
688 fetching. If there is a remote-tracking branch corresponding to
689 the upstream branch and the upstream branch was rebased since last
690 fetched, the rebase uses that information to avoid rebasing
691 non-local changes.
692 </p>
693 <div class="paragraph"><p>See <tt>branch.&lt;name&gt;.rebase</tt> and <tt>branch.autosetuprebase</tt> in
694 <a href="git-config.html">git-config(1)</a> if you want to make <tt>git pull</tt> always use
695 <tt>&#45;&#45;rebase</tt> instead of merging.</p></div>
696 <div class="admonitionblock">
697 <table><tr>
698 <td class="icon">
699 <div class="title">Note</div>
700 </td>
701 <td class="content">This is a potentially <em>dangerous</em> mode of operation.
702 It rewrites history, which does not bode well when you
703 published that history already. Do <strong>not</strong> use this option
704 unless you have read <a href="git-rebase.html">git-rebase(1)</a> carefully.</td>
705 </tr></table>
706 </div>
707 </dd>
708 <dt class="hdlist1">
709 --no-rebase
710 </dt>
711 <dd>
713 Override earlier --rebase.
714 </p>
715 </dd>
716 </dl></div>
717 <h3 id="_options_related_to_fetching">Options related to fetching</h3><div style="clear:left"></div>
718 <div class="dlist"><dl>
719 <dt class="hdlist1">
720 --all
721 </dt>
722 <dd>
724 Fetch all remotes.
725 </p>
726 </dd>
727 <dt class="hdlist1">
729 </dt>
730 <dt class="hdlist1">
731 --append
732 </dt>
733 <dd>
735 Append ref names and object names of fetched refs to the
736 existing contents of <tt>.git/FETCH_HEAD</tt>. Without this
737 option old data in <tt>.git/FETCH_HEAD</tt> will be overwritten.
738 </p>
739 </dd>
740 <dt class="hdlist1">
741 --depth=&lt;depth&gt;
742 </dt>
743 <dd>
745 Deepen the history of a <em>shallow</em> repository created by
746 <tt>git clone</tt> with <tt>--depth=&lt;depth&gt;</tt> option (see <a href="git-clone.html">git-clone(1)</a>)
747 by the specified number of commits.
748 </p>
749 </dd>
750 <dt class="hdlist1">
752 </dt>
753 <dt class="hdlist1">
754 --force
755 </dt>
756 <dd>
758 When <em>git fetch</em> is used with <tt>&lt;rbranch&gt;:&lt;lbranch&gt;</tt>
759 refspec, it refuses to update the local branch
760 <tt>&lt;lbranch&gt;</tt> unless the remote branch <tt>&lt;rbranch&gt;</tt> it
761 fetches is a descendant of <tt>&lt;lbranch&gt;</tt>. This option
762 overrides that check.
763 </p>
764 </dd>
765 <dt class="hdlist1">
767 </dt>
768 <dt class="hdlist1">
769 --keep
770 </dt>
771 <dd>
773 Keep downloaded pack.
774 </p>
775 </dd>
776 <dt class="hdlist1">
777 --no-tags
778 </dt>
779 <dd>
781 By default, tags that point at objects that are downloaded
782 from the remote repository are fetched and stored locally.
783 This option disables this automatic tag following. The default
784 behavior for a remote may be specified with the remote.&lt;name&gt;.tagopt
785 setting. See <a href="git-config.html">git-config(1)</a>.
786 </p>
787 </dd>
788 <dt class="hdlist1">
790 </dt>
791 <dt class="hdlist1">
792 --update-head-ok
793 </dt>
794 <dd>
796 By default <em>git fetch</em> refuses to update the head which
797 corresponds to the current branch. This flag disables the
798 check. This is purely for the internal use for <em>git pull</em>
799 to communicate with <em>git fetch</em>, and unless you are
800 implementing your own Porcelain you are not supposed to
801 use it.
802 </p>
803 </dd>
804 <dt class="hdlist1">
805 --upload-pack &lt;upload-pack&gt;
806 </dt>
807 <dd>
809 When given, and the repository to fetch from is handled
810 by <em>git fetch-pack</em>, <em>--exec=&lt;upload-pack&gt;</em> is passed to
811 the command to specify non-default path for the command
812 run on the other end.
813 </p>
814 </dd>
815 <dt class="hdlist1">
816 --progress
817 </dt>
818 <dd>
820 Progress status is reported on the standard error stream
821 by default when it is attached to a terminal, unless -q
822 is specified. This flag forces progress status even if the
823 standard error stream is not directed to a terminal.
824 </p>
825 </dd>
826 <dt class="hdlist1">
827 &lt;repository&gt;
828 </dt>
829 <dd>
831 The "remote" repository that is the source of a fetch
832 or pull operation. This parameter can be either a URL
833 (see the section <a href="#URLS">GIT URLS</a> below) or the name
834 of a remote (see the section <a href="#REMOTES">REMOTES</a> below).
835 </p>
836 </dd>
837 <dt class="hdlist1">
838 &lt;refspec&gt;
839 </dt>
840 <dd>
842 The format of a &lt;refspec&gt; parameter is an optional plus
843 <tt>&#43;</tt>, followed by the source ref &lt;src&gt;, followed
844 by a colon <tt>:</tt>, followed by the destination ref &lt;dst&gt;.
845 </p>
846 <div class="paragraph"><p>The remote ref that matches &lt;src&gt;
847 is fetched, and if &lt;dst&gt; is not empty string, the local
848 ref that matches it is fast-forwarded using &lt;src&gt;.
849 If the optional plus <tt>+</tt> is used, the local ref
850 is updated even if it does not result in a fast-forward
851 update.</p></div>
852 <div class="admonitionblock">
853 <table><tr>
854 <td class="icon">
855 <div class="title">Note</div>
856 </td>
857 <td class="content">If the remote branch from which you want to pull is
858 modified in non-linear ways such as being rewound and
859 rebased frequently, then a pull will attempt a merge with
860 an older version of itself, likely conflict, and fail.
861 It is under these conditions that you would want to use
862 the <tt>+</tt> sign to indicate non-fast-forward updates will
863 be needed. There is currently no easy way to determine
864 or declare that a branch will be made available in a
865 repository with this behavior; the pulling user simply
866 must know this is the expected usage pattern for a branch.</td>
867 </tr></table>
868 </div>
869 <div class="admonitionblock">
870 <table><tr>
871 <td class="icon">
872 <div class="title">Note</div>
873 </td>
874 <td class="content">You never do your own development on branches that appear
875 on the right hand side of a &lt;refspec&gt; colon on <tt>Pull:</tt> lines;
876 they are to be updated by <em>git fetch</em>. If you intend to do
877 development derived from a remote branch <tt>B</tt>, have a <tt>Pull:</tt>
878 line to track it (i.e. <tt>Pull: B:remote-B</tt>), and have a separate
879 branch <tt>my-B</tt> to do your development on top of it. The latter
880 is created by <tt>git branch my-B remote-B</tt> (or its equivalent <tt>git
881 checkout -b my-B remote-B</tt>). Run <tt>git fetch</tt> to keep track of
882 the progress of the remote side, and when you see something new
883 on the remote branch, merge it into your development branch with
884 <tt>git pull . remote-B</tt>, while you are on <tt>my-B</tt> branch.</td>
885 </tr></table>
886 </div>
887 <div class="admonitionblock">
888 <table><tr>
889 <td class="icon">
890 <div class="title">Note</div>
891 </td>
892 <td class="content">There is a difference between listing multiple &lt;refspec&gt;
893 directly on <em>git pull</em> command line and having multiple
894 <tt>Pull:</tt> &lt;refspec&gt; lines for a &lt;repository&gt; and running
895 <em>git pull</em> command without any explicit &lt;refspec&gt; parameters.
896 &lt;refspec&gt; listed explicitly on the command line are always
897 merged into the current branch after fetching. In other words,
898 if you list more than one remote refs, you would be making
899 an Octopus. While <em>git pull</em> run without any explicit &lt;refspec&gt;
900 parameter takes default &lt;refspec&gt;s from <tt>Pull:</tt> lines, it
901 merges only the first &lt;refspec&gt; found into the current branch,
902 after fetching all the remote refs. This is because making an
903 Octopus from remote refs is rarely done, while keeping track
904 of multiple remote heads in one-go by fetching more than one
905 is often useful.</td>
906 </tr></table>
907 </div>
908 <div class="paragraph"><p>Some short-cut notations are also supported.</p></div>
909 <div class="ulist"><ul>
910 <li>
912 <tt>tag &lt;tag&gt;</tt> means the same as <tt>refs/tags/&lt;tag&gt;:refs/tags/&lt;tag&gt;</tt>;
913 it requests fetching everything up to the given tag.
914 </p>
915 </li>
916 <li>
918 A parameter &lt;ref&gt; without a colon is equivalent to
919 &lt;ref&gt;: when pulling/fetching, so it merges &lt;ref&gt; into the current
920 branch without storing the remote branch anywhere locally
921 </p>
922 </li>
923 </ul></div>
924 </dd>
925 </dl></div>
926 </div>
927 <h2 id="_git_urls_a_id_urls_a">GIT URLS<a id="URLS"></a></h2>
928 <div class="sectionbody">
929 <div class="paragraph"><p>In general, URLs contain information about the transport protocol, the
930 address of the remote server, and the path to the repository.
931 Depending on the transport protocol, some of this information may be
932 absent.</p></div>
933 <div class="paragraph"><p>Git natively supports ssh, git, http, https, ftp, ftps, and rsync
934 protocols. The following syntaxes may be used with them:</p></div>
935 <div class="ulist"><ul>
936 <li>
938 ssh://&#91;user@&#93;host.xz&#91;:port&#93;/path/to/repo.git/
939 </p>
940 </li>
941 <li>
943 git://host.xz&#91;:port&#93;/path/to/repo.git/
944 </p>
945 </li>
946 <li>
948 http&#91;s&#93;://host.xz&#91;:port&#93;/path/to/repo.git/
949 </p>
950 </li>
951 <li>
953 ftp&#91;s&#93;://host.xz&#91;:port&#93;/path/to/repo.git/
954 </p>
955 </li>
956 <li>
958 rsync://host.xz/path/to/repo.git/
959 </p>
960 </li>
961 </ul></div>
962 <div class="paragraph"><p>An alternative scp-like syntax may also be used with the ssh protocol:</p></div>
963 <div class="ulist"><ul>
964 <li>
966 &#91;user@&#93;host.xz:path/to/repo.git/
967 </p>
968 </li>
969 </ul></div>
970 <div class="paragraph"><p>The ssh and git protocols additionally support ~username expansion:</p></div>
971 <div class="ulist"><ul>
972 <li>
974 ssh://&#91;user@&#93;host.xz&#91;:port&#93;/~&#91;user&#93;/path/to/repo.git/
975 </p>
976 </li>
977 <li>
979 git://host.xz&#91;:port&#93;/~&#91;user&#93;/path/to/repo.git/
980 </p>
981 </li>
982 <li>
984 &#91;user@&#93;host.xz:/~&#91;user&#93;/path/to/repo.git/
985 </p>
986 </li>
987 </ul></div>
988 <div class="paragraph"><p>For local repositories, also supported by git natively, the following
989 syntaxes may be used:</p></div>
990 <div class="ulist"><ul>
991 <li>
993 /path/to/repo.git/
994 </p>
995 </li>
996 <li>
998 <a href="file:///path/to/repo.git/">file:///path/to/repo.git/</a>
999 </p>
1000 </li>
1001 </ul></div>
1002 <div class="paragraph"><p>These two syntaxes are mostly equivalent, except when cloning, when
1003 the former implies --local option. See <a href="git-clone.html">git-clone(1)</a> for
1004 details.</p></div>
1005 <div class="paragraph"><p>When git doesn&#8217;t know how to handle a certain transport protocol, it
1006 attempts to use the <em>remote-&lt;transport&gt;</em> remote helper, if one
1007 exists. To explicitly request a remote helper, the following syntax
1008 may be used:</p></div>
1009 <div class="ulist"><ul>
1010 <li>
1012 &lt;transport&gt;::&lt;address&gt;
1013 </p>
1014 </li>
1015 </ul></div>
1016 <div class="paragraph"><p>where &lt;address&gt; may be a path, a server and path, or an arbitrary
1017 URL-like string recognized by the specific remote helper being
1018 invoked. See <a href="git-remote-helpers.html">git-remote-helpers(1)</a> for details.</p></div>
1019 <div class="paragraph"><p>If there are a large number of similarly-named remote repositories and
1020 you want to use a different format for them (such that the URLs you
1021 use will be rewritten into URLs that work), you can create a
1022 configuration section of the form:</p></div>
1023 <div class="listingblock">
1024 <div class="content">
1025 <pre><tt> [url "&lt;actual url base&gt;"]
1026 insteadOf = &lt;other url base&gt;</tt></pre>
1027 </div></div>
1028 <div class="paragraph"><p>For example, with this:</p></div>
1029 <div class="listingblock">
1030 <div class="content">
1031 <pre><tt> [url "git://git.host.xz/"]
1032 insteadOf = host.xz:/path/to/
1033 insteadOf = work:</tt></pre>
1034 </div></div>
1035 <div class="paragraph"><p>a URL like "work:repo.git" or like "host.xz:/path/to/repo.git" will be
1036 rewritten in any context that takes a URL to be "git://git.host.xz/repo.git".</p></div>
1037 <div class="paragraph"><p>If you want to rewrite URLs for push only, you can create a
1038 configuration section of the form:</p></div>
1039 <div class="listingblock">
1040 <div class="content">
1041 <pre><tt> [url "&lt;actual url base&gt;"]
1042 pushInsteadOf = &lt;other url base&gt;</tt></pre>
1043 </div></div>
1044 <div class="paragraph"><p>For example, with this:</p></div>
1045 <div class="listingblock">
1046 <div class="content">
1047 <pre><tt> [url "ssh://example.org/"]
1048 pushInsteadOf = git://example.org/</tt></pre>
1049 </div></div>
1050 <div class="paragraph"><p>a URL like "git://example.org/path/to/repo.git" will be rewritten to
1051 "ssh://example.org/path/to/repo.git" for pushes, but pulls will still
1052 use the original URL.</p></div>
1053 </div>
1054 <h2 id="_remotes_a_id_remotes_a">REMOTES<a id="REMOTES"></a></h2>
1055 <div class="sectionbody">
1056 <div class="paragraph"><p>The name of one of the following can be used instead
1057 of a URL as <tt>&lt;repository&gt;</tt> argument:</p></div>
1058 <div class="ulist"><ul>
1059 <li>
1061 a remote in the git configuration file: <tt>$GIT_DIR/config</tt>,
1062 </p>
1063 </li>
1064 <li>
1066 a file in the <tt>$GIT_DIR/remotes</tt> directory, or
1067 </p>
1068 </li>
1069 <li>
1071 a file in the <tt>$GIT_DIR/branches</tt> directory.
1072 </p>
1073 </li>
1074 </ul></div>
1075 <div class="paragraph"><p>All of these also allow you to omit the refspec from the command line
1076 because they each contain a refspec which git will use by default.</p></div>
1077 <h3 id="_named_remote_in_configuration_file">Named remote in configuration file</h3><div style="clear:left"></div>
1078 <div class="paragraph"><p>You can choose to provide the name of a remote which you had previously
1079 configured using <a href="git-remote.html">git-remote(1)</a>, <a href="git-config.html">git-config(1)</a>
1080 or even by a manual edit to the <tt>$GIT_DIR/config</tt> file. The URL of
1081 this remote will be used to access the repository. The refspec
1082 of this remote will be used by default when you do
1083 not provide a refspec on the command line. The entry in the
1084 config file would appear like this:</p></div>
1085 <div class="listingblock">
1086 <div class="content">
1087 <pre><tt> [remote "&lt;name&gt;"]
1088 url = &lt;url&gt;
1089 pushurl = &lt;pushurl&gt;
1090 push = &lt;refspec&gt;
1091 fetch = &lt;refspec&gt;</tt></pre>
1092 </div></div>
1093 <div class="paragraph"><p>The <tt>&lt;pushurl&gt;</tt> is used for pushes only. It is optional and defaults
1094 to <tt>&lt;url&gt;</tt>.</p></div>
1095 <h3 id="_named_file_in_tt_git_dir_remotes_tt">Named file in <tt>$GIT_DIR/remotes</tt></h3><div style="clear:left"></div>
1096 <div class="paragraph"><p>You can choose to provide the name of a
1097 file in <tt>$GIT_DIR/remotes</tt>. The URL
1098 in this file will be used to access the repository. The refspec
1099 in this file will be used as default when you do not
1100 provide a refspec on the command line. This file should have the
1101 following format:</p></div>
1102 <div class="listingblock">
1103 <div class="content">
1104 <pre><tt> URL: one of the above URL format
1105 Push: &lt;refspec&gt;
1106 Pull: &lt;refspec&gt;</tt></pre>
1107 </div></div>
1108 <div class="paragraph"><p><tt>Push:</tt> lines are used by <em>git push</em> and
1109 <tt>Pull:</tt> lines are used by <em>git pull</em> and <em>git fetch</em>.
1110 Multiple <tt>Push:</tt> and <tt>Pull:</tt> lines may
1111 be specified for additional branch mappings.</p></div>
1112 <h3 id="_named_file_in_tt_git_dir_branches_tt">Named file in <tt>$GIT_DIR/branches</tt></h3><div style="clear:left"></div>
1113 <div class="paragraph"><p>You can choose to provide the name of a
1114 file in <tt>$GIT_DIR/branches</tt>.
1115 The URL in this file will be used to access the repository.
1116 This file should have the following format:</p></div>
1117 <div class="listingblock">
1118 <div class="content">
1119 <pre><tt> &lt;url&gt;#&lt;head&gt;</tt></pre>
1120 </div></div>
1121 <div class="paragraph"><p><tt>&lt;url&gt;</tt> is required; <tt>#&lt;head&gt;</tt> is optional.</p></div>
1122 <div class="paragraph"><p>Depending on the operation, git will use one of the following
1123 refspecs, if you don&#8217;t provide one on the command line.
1124 <tt>&lt;branch&gt;</tt> is the name of this file in <tt>$GIT_DIR/branches</tt> and
1125 <tt>&lt;head&gt;</tt> defaults to <tt>master</tt>.</p></div>
1126 <div class="paragraph"><p>git fetch uses:</p></div>
1127 <div class="listingblock">
1128 <div class="content">
1129 <pre><tt> refs/heads/&lt;head&gt;:refs/heads/&lt;branch&gt;</tt></pre>
1130 </div></div>
1131 <div class="paragraph"><p>git push uses:</p></div>
1132 <div class="listingblock">
1133 <div class="content">
1134 <pre><tt> HEAD:refs/heads/&lt;head&gt;</tt></pre>
1135 </div></div>
1136 </div>
1137 <h2 id="_merge_strategies">MERGE STRATEGIES</h2>
1138 <div class="sectionbody">
1139 <div class="paragraph"><p>The merge mechanism (<em>git-merge</em> and <em>git-pull</em> commands) allows the
1140 backend <em>merge strategies</em> to be chosen with <tt>-s</tt> option. Some strategies
1141 can also take their own options, which can be passed by giving <tt>-X&lt;option&gt;</tt>
1142 arguments to <em>git-merge</em> and/or <em>git-pull</em>.</p></div>
1143 <div class="dlist"><dl>
1144 <dt class="hdlist1">
1145 resolve
1146 </dt>
1147 <dd>
1149 This can only resolve two heads (i.e. the current branch
1150 and another branch you pulled from) using a 3-way merge
1151 algorithm. It tries to carefully detect criss-cross
1152 merge ambiguities and is considered generally safe and
1153 fast.
1154 </p>
1155 </dd>
1156 <dt class="hdlist1">
1157 recursive
1158 </dt>
1159 <dd>
1161 This can only resolve two heads using a 3-way merge
1162 algorithm. When there is more than one common
1163 ancestor that can be used for 3-way merge, it creates a
1164 merged tree of the common ancestors and uses that as
1165 the reference tree for the 3-way merge. This has been
1166 reported to result in fewer merge conflicts without
1167 causing mis-merges by tests done on actual merge commits
1168 taken from Linux 2.6 kernel development history.
1169 Additionally this can detect and handle merges involving
1170 renames. This is the default merge strategy when
1171 pulling or merging one branch.
1172 </p>
1173 <div class="paragraph"><p>The <em>recursive</em> strategy can take the following options:</p></div>
1174 <div class="dlist"><dl>
1175 <dt class="hdlist1">
1176 ours
1177 </dt>
1178 <dd>
1180 This option forces conflicting hunks to be auto-resolved cleanly by
1181 favoring <em>our</em> version. Changes from the other tree that do not
1182 conflict with our side are reflected to the merge result.
1183 </p>
1184 <div class="paragraph"><p>This should not be confused with the <em>ours</em> merge strategy, which does not
1185 even look at what the other tree contains at all. It discards everything
1186 the other tree did, declaring <em>our</em> history contains all that happened in it.</p></div>
1187 </dd>
1188 <dt class="hdlist1">
1189 theirs
1190 </dt>
1191 <dd>
1193 This is opposite of <em>ours</em>.
1194 </p>
1195 </dd>
1196 <dt class="hdlist1">
1197 patience
1198 </dt>
1199 <dd>
1201 With this option, <em>merge-recursive</em> spends a little extra time
1202 to avoid mismerges that sometimes occur due to unimportant
1203 matching lines (e.g., braces from distinct functions). Use
1204 this when the branches to be merged have diverged wildly.
1205 See also <a href="git-diff.html">git-diff(1)</a> <tt>--patience</tt>.
1206 </p>
1207 </dd>
1208 <dt class="hdlist1">
1209 ignore-space-change
1210 </dt>
1211 <dt class="hdlist1">
1212 ignore-all-space
1213 </dt>
1214 <dt class="hdlist1">
1215 ignore-space-at-eol
1216 </dt>
1217 <dd>
1219 Treats lines with the indicated type of whitespace change as
1220 unchanged for the sake of a three-way merge. Whitespace
1221 changes mixed with other changes to a line are not ignored.
1222 See also <a href="git-diff.html">git-diff(1)</a> <tt>-b</tt>, <tt>-w</tt>, and
1223 <tt>--ignore-space-at-eol</tt>.
1224 </p>
1225 <div class="ulist"><ul>
1226 <li>
1228 If <em>their</em> version only introduces whitespace changes to a line,
1229 <em>our</em> version is used;
1230 </p>
1231 </li>
1232 <li>
1234 If <em>our</em> version introduces whitespace changes but <em>their</em>
1235 version includes a substantial change, <em>their</em> version is used;
1236 </p>
1237 </li>
1238 <li>
1240 Otherwise, the merge proceeds in the usual way.
1241 </p>
1242 </li>
1243 </ul></div>
1244 </dd>
1245 <dt class="hdlist1">
1246 renormalize
1247 </dt>
1248 <dd>
1250 This runs a virtual check-out and check-in of all three stages
1251 of a file when resolving a three-way merge. This option is
1252 meant to be used when merging branches with different clean
1253 filters or end-of-line normalization rules. See "Merging
1254 branches with differing checkin/checkout attributes" in
1255 <a href="gitattributes.html">gitattributes(5)</a> for details.
1256 </p>
1257 </dd>
1258 <dt class="hdlist1">
1259 no-renormalize
1260 </dt>
1261 <dd>
1263 Disables the <tt>renormalize</tt> option. This overrides the
1264 <tt>merge.renormalize</tt> configuration variable.
1265 </p>
1266 </dd>
1267 <dt class="hdlist1">
1268 rename-threshold=&lt;n&gt;
1269 </dt>
1270 <dd>
1272 Controls the similarity threshold used for rename detection.
1273 See also <a href="git-diff.html">git-diff(1)</a> <tt>-M</tt>.
1274 </p>
1275 </dd>
1276 <dt class="hdlist1">
1277 subtree[=&lt;path&gt;]
1278 </dt>
1279 <dd>
1281 This option is a more advanced form of <em>subtree</em> strategy, where
1282 the strategy makes a guess on how two trees must be shifted to
1283 match with each other when merging. Instead, the specified path
1284 is prefixed (or stripped from the beginning) to make the shape of
1285 two trees to match.
1286 </p>
1287 </dd>
1288 </dl></div>
1289 </dd>
1290 <dt class="hdlist1">
1291 octopus
1292 </dt>
1293 <dd>
1295 This resolves cases with more than two heads, but refuses to do
1296 a complex merge that needs manual resolution. It is
1297 primarily meant to be used for bundling topic branch
1298 heads together. This is the default merge strategy when
1299 pulling or merging more than one branch.
1300 </p>
1301 </dd>
1302 <dt class="hdlist1">
1303 ours
1304 </dt>
1305 <dd>
1307 This resolves any number of heads, but the resulting tree of the
1308 merge is always that of the current branch head, effectively
1309 ignoring all changes from all other branches. It is meant to
1310 be used to supersede old development history of side
1311 branches. Note that this is different from the -Xours option to
1312 the <em>recursive</em> merge strategy.
1313 </p>
1314 </dd>
1315 <dt class="hdlist1">
1316 subtree
1317 </dt>
1318 <dd>
1320 This is a modified recursive strategy. When merging trees A and
1321 B, if B corresponds to a subtree of A, B is first adjusted to
1322 match the tree structure of A, instead of reading the trees at
1323 the same level. This adjustment is also done to the common
1324 ancestor tree.
1325 </p>
1326 </dd>
1327 </dl></div>
1328 </div>
1329 <h2 id="_default_behaviour">DEFAULT BEHAVIOUR</h2>
1330 <div class="sectionbody">
1331 <div class="paragraph"><p>Often people use <tt>git pull</tt> without giving any parameter.
1332 Traditionally, this has been equivalent to saying <tt>git pull
1333 origin</tt>. However, when configuration <tt>branch.&lt;name&gt;.remote</tt> is
1334 present while on branch <tt>&lt;name&gt;</tt>, that value is used instead of
1335 <tt>origin</tt>.</p></div>
1336 <div class="paragraph"><p>In order to determine what URL to use to fetch from, the value
1337 of the configuration <tt>remote.&lt;origin&gt;.url</tt> is consulted
1338 and if there is not any such variable, the value on <tt>URL: ` line
1339 in `$GIT_DIR/remotes/&lt;origin&gt;</tt> file is used.</p></div>
1340 <div class="paragraph"><p>In order to determine what remote branches to fetch (and
1341 optionally store in the remote-tracking branches) when the command is
1342 run without any refspec parameters on the command line, values
1343 of the configuration variable <tt>remote.&lt;origin&gt;.fetch</tt> are
1344 consulted, and if there aren&#8217;t any, <tt>$GIT_DIR/remotes/&lt;origin&gt;</tt>
1345 file is consulted and its `Pull: ` lines are used.
1346 In addition to the refspec formats described in the OPTIONS
1347 section, you can have a globbing refspec that looks like this:</p></div>
1348 <div class="listingblock">
1349 <div class="content">
1350 <pre><tt>refs/heads/*:refs/remotes/origin/*</tt></pre>
1351 </div></div>
1352 <div class="paragraph"><p>A globbing refspec must have a non-empty RHS (i.e. must store
1353 what were fetched in remote-tracking branches), and its LHS and RHS
1354 must end with <tt>/*</tt>. The above specifies that all remote
1355 branches are tracked using remote-tracking branches in
1356 <tt>refs/remotes/origin/</tt> hierarchy under the same name.</p></div>
1357 <div class="paragraph"><p>The rule to determine which remote branch to merge after
1358 fetching is a bit involved, in order not to break backward
1359 compatibility.</p></div>
1360 <div class="paragraph"><p>If explicit refspecs were given on the command
1361 line of <tt>git pull</tt>, they are all merged.</p></div>
1362 <div class="paragraph"><p>When no refspec was given on the command line, then <tt>git pull</tt>
1363 uses the refspec from the configuration or
1364 <tt>$GIT_DIR/remotes/&lt;origin&gt;</tt>. In such cases, the following
1365 rules apply:</p></div>
1366 <div class="olist arabic"><ol class="arabic">
1367 <li>
1369 If <tt>branch.&lt;name&gt;.merge</tt> configuration for the current
1370 branch <tt>&lt;name&gt;</tt> exists, that is the name of the branch at the
1371 remote site that is merged.
1372 </p>
1373 </li>
1374 <li>
1376 If the refspec is a globbing one, nothing is merged.
1377 </p>
1378 </li>
1379 <li>
1381 Otherwise the remote branch of the first refspec is merged.
1382 </p>
1383 </li>
1384 </ol></div>
1385 </div>
1386 <h2 id="_examples">EXAMPLES</h2>
1387 <div class="sectionbody">
1388 <div class="ulist"><ul>
1389 <li>
1391 Update the remote-tracking branches for the repository
1392 you cloned from, then merge one of them into your
1393 current branch:
1394 </p>
1395 <div class="listingblock">
1396 <div class="content">
1397 <pre><tt>$ git pull, git pull origin</tt></pre>
1398 </div></div>
1399 <div class="paragraph"><p>Normally the branch merged in is the HEAD of the remote repository,
1400 but the choice is determined by the branch.&lt;name&gt;.remote and
1401 branch.&lt;name&gt;.merge options; see <a href="git-config.html">git-config(1)</a> for details.</p></div>
1402 </li>
1403 <li>
1405 Merge into the current branch the remote branch <tt>next</tt>:
1406 </p>
1407 <div class="listingblock">
1408 <div class="content">
1409 <pre><tt>$ git pull origin next</tt></pre>
1410 </div></div>
1411 <div class="paragraph"><p>This leaves a copy of <tt>next</tt> temporarily in FETCH_HEAD, but
1412 does not update any remote-tracking branches. Using remote-tracking
1413 branches, the same can be done by invoking fetch and merge:</p></div>
1414 <div class="listingblock">
1415 <div class="content">
1416 <pre><tt>$ git fetch origin
1417 $ git merge origin/next</tt></pre>
1418 </div></div>
1419 </li>
1420 </ul></div>
1421 <div class="paragraph"><p>If you tried a pull which resulted in a complex conflicts and
1422 would want to start over, you can recover with <em>git reset</em>.</p></div>
1423 </div>
1424 <h2 id="_bugs">BUGS</h2>
1425 <div class="sectionbody">
1426 <div class="paragraph"><p>Using --recurse-submodules can only fetch new commits in already checked
1427 out submodules right now. When e.g. upstream added a new submodule in the
1428 just fetched commits of the superproject the submodule itself can not be
1429 fetched, making it impossible to check out that submodule later without
1430 having to do a fetch again. This is expected to be fixed in a future git
1431 version.</p></div>
1432 </div>
1433 <h2 id="_see_also">SEE ALSO</h2>
1434 <div class="sectionbody">
1435 <div class="paragraph"><p><a href="git-fetch.html">git-fetch(1)</a>, <a href="git-merge.html">git-merge(1)</a>, <a href="git-config.html">git-config(1)</a></p></div>
1436 </div>
1437 <h2 id="_git">GIT</h2>
1438 <div class="sectionbody">
1439 <div class="paragraph"><p>Part of the <a href="git.html">git(1)</a> suite</p></div>
1440 </div>
1441 <div id="footer">
1442 <div id="footer-text">
1443 Last updated 2011-04-05 00:20:31 UTC
1444 </div>
1445 </div>
1446 </body>
1447 </html>