Skip to content

Commit 9e83486

Browse files
committed
Autogenerated HTML docs for v2.51.1-523-gc54a1
1 parent 76cf7b2 commit 9e83486

15 files changed

+807
-176
lines changed

RelNotes/2.52.0.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ Performance, Internal Implementation, Development Support etc.
131131
and one for xdiff), roll everything into a single libgit.a archive.
132132
This would help later effort to FFI into Rust.
133133
134+
* The beginning of SHA1-SHA256 interoperability work.
135+
134136
135137
Fixes since v2.51
136138
-----------------
@@ -380,3 +382,5 @@ including security updates, are included in this release.
380382
(merge 3860985105 js/unreachable-workaround-for-no-symlink-head later to maint).
381383
(merge b3ac6e737d kh/doc-continued-paragraph-fix later to maint).
382384
(merge 2cebca0582 tb/cat-file-objectmode-update later to maint).
385+
(merge 96978d7545 js/ci-github-actions-update later to maint).
386+
(merge 0c4f1346ca so/t2401-use-test-path-helpers later to maint).

fsck-msgids.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
`badFilemode`::
1111
(INFO) A tree contains a bad filemode entry.
1212

13+
`badGpgsig`::
14+
(ERROR) A tag contains a bad (truncated) signature (e.g., `gpgsig`) header.
15+
16+
`badHeaderContinuation`::
17+
(ERROR) A continuation header (such as for `gpgsig`) is unexpectedly truncated.
18+
1319
`badName`::
1420
(ERROR) An author/committer name is empty.
1521

git-fetch.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -878,6 +878,10 @@ <h2 id="_options">OPTIONS</h2>
878878
of remotes.&lt;group&gt; in the configuration file.
879879
(See <a href="git-config.html">git-config(1)</a>).</p>
880880
</dd>
881+
</dl>
882+
</div>
883+
<div id="fetch-refspec" class="dlist">
884+
<dl>
881885
<dt class="hdlist1">&lt;refspec&gt;</dt>
882886
<dd>
883887
<p>Specifies which refs to fetch and which local refs to update.

git-fsck.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,14 @@ <h2 id="_fsck_messages">FSCK MESSAGES</h2>
766766
<dd>
767767
<p>(INFO) A tree contains a bad filemode entry.</p>
768768
</dd>
769+
<dt class="hdlist1"><code>badGpgsig</code></dt>
770+
<dd>
771+
<p>(ERROR) A tag contains a bad (truncated) signature (e.g., <code>gpgsig</code>) header.</p>
772+
</dd>
773+
<dt class="hdlist1"><code>badHeaderContinuation</code></dt>
774+
<dd>
775+
<p>(ERROR) A continuation header (such as for <code>gpgsig</code>) is unexpectedly truncated.</p>
776+
</dd>
769777
<dt class="hdlist1"><code>badName</code></dt>
770778
<dd>
771779
<p>(ERROR) An author/committer name is empty.</p>

git-pull.adoc

Lines changed: 40 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -15,68 +15,54 @@ SYNOPSIS
1515
DESCRIPTION
1616
-----------
1717

18-
Incorporates changes from a remote repository into the current branch.
19-
If the current branch is behind the remote, then by default it will
20-
fast-forward the current branch to match the remote. If the current
21-
branch and the remote have diverged, the user needs to specify how to
22-
reconcile the divergent branches with `--rebase` or `--no-rebase` (or
23-
the corresponding configuration option in `pull.rebase`).
24-
25-
More precisely, `git pull` runs `git fetch` with the given parameters
26-
and then depending on configuration options or command line flags,
27-
will call either `git rebase` or `git merge` to reconcile diverging
28-
branches.
29-
30-
<repository> should be the name of a remote repository as
31-
passed to linkgit:git-fetch[1]. <refspec> can name an
32-
arbitrary remote ref (for example, the name of a tag) or even
33-
a collection of refs with corresponding remote-tracking branches
34-
(e.g., refs/heads/{asterisk}:refs/remotes/origin/{asterisk}),
35-
but usually it is the name of a branch in the remote repository.
36-
37-
Default values for <repository> and <branch> are read from the
38-
"remote" and "merge" configuration for the current branch
39-
as set by linkgit:git-branch[1] `--track`.
40-
41-
Assume the following history exists and the current branch is
42-
"`master`":
18+
Integrate changes from a remote repository into the current branch.
4319

44-
------------
45-
A---B---C master on origin
46-
/
47-
D---E---F---G master
48-
^
49-
origin/master in your repository
50-
------------
20+
First, `git pull` runs `git fetch` with the same arguments
21+
(excluding merge options) to fetch remote branch(es).
22+
Then it decides which remote branch to integrate: if you run `git pull`
23+
with no arguments this defaults to the <<UPSTREAM-BRANCHES,upstream>>
24+
for the current branch.
25+
Then it integrates that branch into the current branch.
5126

52-
Then "`git pull`" will fetch and replay the changes from the remote
53-
`master` branch since it diverged from the local `master` (i.e., `E`)
54-
until its current commit (`C`) on top of `master` and record the
55-
result in a new commit along with the names of the two parent commits
56-
and a log message from the user describing the changes.
57-
58-
------------
59-
A---B---C origin/master
60-
/ \
61-
D---E---F---G---H master
62-
------------
27+
There are 4 main options for integrating the remote branch:
6328

64-
See linkgit:git-merge[1] for details, including how conflicts
65-
are presented and handled.
29+
1. `git pull --ff-only` will only do "fast-forward" updates: it
30+
fails if your local branch has diverged from the remote branch.
31+
This is the default.
32+
2. `git pull --rebase` runs `git rebase`
33+
3. `git pull --no-rebase` runs `git merge`.
34+
4. `git pull --squash` runs `git merge --squash`
6635
67-
In Git 1.7.0 or later, to cancel a conflicting merge, use
68-
`git reset --merge`. *Warning*: In older versions of Git, running 'git pull'
69-
with uncommitted changes is discouraged: while possible, it leaves you
70-
in a state that may be hard to back out of in the case of a conflict.
36+
You can also set the configuration options `pull.rebase`, `pull.squash`,
37+
or `pull.ff` with your preferred behaviour.
7138

72-
If any of the remote changes overlap with local uncommitted changes,
73-
the merge will be automatically canceled and the work tree untouched.
74-
It is generally best to get any local changes in working order before
75-
pulling or stash them away with linkgit:git-stash[1].
39+
If there's a merge conflict during the merge or rebase that you don't
40+
want to handle, you can safely abort it with `git merge --abort` or `git
41+
--rebase abort`.
7642

7743
OPTIONS
7844
-------
7945

46+
<repository>::
47+
The "remote" repository to pull from. This can be either
48+
a URL (see the section <<URLS,GIT URLS>> below) or the name
49+
of a remote (see the section <<REMOTES,REMOTES>> below).
50+
+
51+
Defaults to the configured upstream for the current branch, or `origin`.
52+
See <<UPSTREAM-BRANCHES,UPSTREAM BRANCHES>> below for more on how to
53+
configure upstreams.
54+
55+
<refspec>::
56+
Which branch or other reference(s) to fetch and integrate into the
57+
current branch, for example `main` in `git pull origin main`.
58+
Defaults to the configured upstream for the current branch.
59+
+
60+
This can be a branch, tag, or other collection of reference(s).
61+
See <<fetch-refspec,<refspec>>> below under "Options related to fetching"
62+
for the full syntax, and <<DEFAULT-BEHAVIOUR,DEFAULT BEHAVIOUR>> below
63+
for how `git pull` uses this argument to determine which remote branch
64+
to integrate.
65+
8066
-q::
8167
--quiet::
8268
This is passed to both underlying git-fetch to squelch reporting of
@@ -145,6 +131,7 @@ include::urls-remotes.adoc[]
145131

146132
include::merge-strategies.adoc[]
147133

134+
[[DEFAULT-BEHAVIOUR]]
148135
DEFAULT BEHAVIOUR
149136
-----------------
150137

git-pull.html

Lines changed: 60 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -460,74 +460,45 @@ <h2 id="_synopsis">SYNOPSIS</h2>
460460
<h2 id="_description">DESCRIPTION</h2>
461461
<div class="sectionbody">
462462
<div class="paragraph">
463-
<p>Incorporates changes from a remote repository into the current branch.
464-
If the current branch is behind the remote, then by default it will
465-
fast-forward the current branch to match the remote. If the current
466-
branch and the remote have diverged, the user needs to specify how to
467-
reconcile the divergent branches with <code>--rebase</code> or <code>--no-rebase</code> (or
468-
the corresponding configuration option in <code>pull.rebase</code>).</p>
463+
<p>Integrate changes from a remote repository into the current branch.</p>
469464
</div>
470465
<div class="paragraph">
471-
<p>More precisely, <code>git</code> <code>pull</code> runs <code>git</code> <code>fetch</code> with the given parameters
472-
and then depending on configuration options or command line flags,
473-
will call either <code>git</code> <code>rebase</code> or <code>git</code> <code>merge</code> to reconcile diverging
474-
branches.</p>
466+
<p>First, <code>git</code> <code>pull</code> runs <code>git</code> <code>fetch</code> with the same arguments
467+
(excluding merge options) to fetch remote branch(es).
468+
Then it decides which remote branch to integrate: if you run <code>git</code> <code>pull</code>
469+
with no arguments this defaults to the <a href="#UPSTREAM-BRANCHES">upstream</a>
470+
for the current branch.
471+
Then it integrates that branch into the current branch.</p>
475472
</div>
476473
<div class="paragraph">
477-
<p>&lt;repository&gt; should be the name of a remote repository as
478-
passed to <a href="git-fetch.html">git-fetch(1)</a>. &lt;refspec&gt; can name an
479-
arbitrary remote ref (for example, the name of a tag) or even
480-
a collection of refs with corresponding remote-tracking branches
481-
(e.g., refs/heads/*:refs/remotes/origin/*),
482-
but usually it is the name of a branch in the remote repository.</p>
474+
<p>There are 4 main options for integrating the remote branch:</p>
483475
</div>
484-
<div class="paragraph">
485-
<p>Default values for &lt;repository&gt; and &lt;branch&gt; are read from the
486-
"remote" and "merge" configuration for the current branch
487-
as set by <a href="git-branch.html">git-branch(1)</a> <code>--track</code>.</p>
488-
</div>
489-
<div class="paragraph">
490-
<p>Assume the following history exists and the current branch is
491-
"<code>master</code>":</p>
492-
</div>
493-
<div class="listingblock">
494-
<div class="content">
495-
<pre> A---B---C master on origin
496-
/
497-
D---E---F---G master
498-
^
499-
origin/master in your repository</pre>
500-
</div>
501-
</div>
502-
<div class="paragraph">
503-
<p>Then "<code>git</code> <code>pull</code>" will fetch and replay the changes from the remote
504-
<code>master</code> branch since it diverged from the local <code>master</code> (i.e., <code>E</code>)
505-
until its current commit (<code>C</code>) on top of <code>master</code> and record the
506-
result in a new commit along with the names of the two parent commits
507-
and a log message from the user describing the changes.</p>
508-
</div>
509-
<div class="listingblock">
510-
<div class="content">
511-
<pre> A---B---C origin/master
512-
/ \
513-
D---E---F---G---H master</pre>
514-
</div>
515-
</div>
516-
<div class="paragraph">
517-
<p>See <a href="git-merge.html">git-merge(1)</a> for details, including how conflicts
518-
are presented and handled.</p>
476+
<div class="olist arabic">
477+
<ol class="arabic">
478+
<li>
479+
<p><code>git</code> <code>pull</code> <code>--ff-only</code> will only do "fast-forward" updates: it
480+
fails if your local branch has diverged from the remote branch.
481+
This is the default.</p>
482+
</li>
483+
<li>
484+
<p><code>git</code> <code>pull</code> <code>--rebase</code> runs <code>git</code> <code>rebase</code></p>
485+
</li>
486+
<li>
487+
<p><code>git</code> <code>pull</code> <code>--no-rebase</code> runs <code>git</code> <code>merge</code>.</p>
488+
</li>
489+
<li>
490+
<p><code>git</code> <code>pull</code> <code>--squash</code> runs <code>git</code> <code>merge</code> <code>--squash</code></p>
491+
</li>
492+
</ol>
519493
</div>
520494
<div class="paragraph">
521-
<p>In Git 1.7.0 or later, to cancel a conflicting merge, use
522-
<code>git</code> <code>reset</code> <code>--merge</code>. <strong>Warning</strong>: In older versions of Git, running <em>git pull</em>
523-
with uncommitted changes is discouraged: while possible, it leaves you
524-
in a state that may be hard to back out of in the case of a conflict.</p>
495+
<p>You can also set the configuration options <code>pull.rebase</code>, <code>pull.squash</code>,
496+
or <code>pull.ff</code> with your preferred behaviour.</p>
525497
</div>
526498
<div class="paragraph">
527-
<p>If any of the remote changes overlap with local uncommitted changes,
528-
the merge will be automatically canceled and the work tree untouched.
529-
It is generally best to get any local changes in working order before
530-
pulling or stash them away with <a href="git-stash.html">git-stash(1)</a>.</p>
499+
<p>If there&#8217;s a merge conflict during the merge or rebase that you don&#8217;t
500+
want to handle, you can safely abort it with <code>git</code> <code>merge</code> <code>--abort</code> or <code>git</code>
501+
<code>--rebase</code> <code>abort</code>.</p>
531502
</div>
532503
</div>
533504
</div>
@@ -536,6 +507,30 @@ <h2 id="_options">OPTIONS</h2>
536507
<div class="sectionbody">
537508
<div class="dlist">
538509
<dl>
510+
<dt class="hdlist1">&lt;repository&gt;</dt>
511+
<dd>
512+
<p>The "remote" repository to pull from. This can be either
513+
a URL (see the section <a href="#URLS">GIT URLS</a> below) or the name
514+
of a remote (see the section <a href="#REMOTES">REMOTES</a> below).</p>
515+
<div class="paragraph">
516+
<p>Defaults to the configured upstream for the current branch, or <code>origin</code>.
517+
See <a href="#UPSTREAM-BRANCHES">UPSTREAM BRANCHES</a> below for more on how to
518+
configure upstreams.</p>
519+
</div>
520+
</dd>
521+
<dt class="hdlist1">&lt;refspec&gt;</dt>
522+
<dd>
523+
<p>Which branch or other reference(s) to fetch and integrate into the
524+
current branch, for example <code>main</code> in <code>git</code> <code>pull</code> <code>origin</code> <code>main</code>.
525+
Defaults to the configured upstream for the current branch.</p>
526+
<div class="paragraph">
527+
<p>This can be a branch, tag, or other collection of reference(s).
528+
See <a href="#fetch-refspec">&lt;refspec</a>&gt; below under "Options related to fetching"
529+
for the full syntax, and <a href="#DEFAULT-BEHAVIOUR">DEFAULT BEHAVIOUR</a> below
530+
for how <code>git</code> <code>pull</code> uses this argument to determine which remote branch
531+
to integrate.</p>
532+
</div>
533+
</dd>
539534
<dt class="hdlist1">-q</dt>
540535
<dt class="hdlist1">--quiet</dt>
541536
<dd>
@@ -1081,6 +1076,10 @@ <h3 id="_options_related_to_fetching">Options related to fetching</h3>
10811076
(see the section <a href="#URLS">GIT URLS</a> below) or the name
10821077
of a remote (see the section <a href="#REMOTES">REMOTES</a> below).</p>
10831078
</dd>
1079+
</dl>
1080+
</div>
1081+
<div id="fetch-refspec" class="dlist">
1082+
<dl>
10841083
<dt class="hdlist1">&lt;refspec&gt;</dt>
10851084
<dd>
10861085
<p>Specifies which refs to fetch and which local refs to update.
@@ -1764,7 +1763,7 @@ <h2 id="_merge_strategies">MERGE STRATEGIES</h2>
17641763
</div>
17651764
</div>
17661765
<div class="sect1">
1767-
<h2 id="_default_behaviour">DEFAULT BEHAVIOUR</h2>
1766+
<h2 id="DEFAULT-BEHAVIOUR">DEFAULT BEHAVIOUR</h2>
17681767
<div class="sectionbody">
17691768
<div class="paragraph">
17701769
<p>Often people use <code>git</code> <code>pull</code> without giving any parameter.
@@ -1955,7 +1954,7 @@ <h2 id="_git">GIT</h2>
19551954
</div>
19561955
<div id="footer">
19571956
<div id="footer-text">
1958-
Last updated 2025-08-25 14:46:08 -0700
1957+
Last updated 2025-10-22 15:04:39 -0700
19591958
</div>
19601959
</div>
19611960
</body>

git-rev-parse.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -324,11 +324,12 @@ The following options are unaffected by `--path-format`:
324324
path of the current directory relative to the top-level
325325
directory.
326326

327-
--show-object-format[=(storage|input|output)]::
328-
Show the object format (hash algorithm) used for the repository
329-
for storage inside the `.git` directory, input, or output. For
330-
input, multiple algorithms may be printed, space-separated.
331-
If not specified, the default is "storage".
327+
--show-object-format[=(storage|input|output|compat)]::
328+
Show the object format (hash algorithm) used for the repository for storage
329+
inside the `.git` directory, input, output, or compatibility. For input,
330+
multiple algorithms may be printed, space-separated. If `compat` is
331+
requested and no compatibility algorithm is enabled, prints an empty line. If
332+
not specified, the default is "storage".
332333

333334
--show-ref-format::
334335
Show the reference storage format used for the repository.

git-rev-parse.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -856,12 +856,13 @@ <h3 id="_options_for_files">Options for Files</h3>
856856
path of the current directory relative to the top-level
857857
directory.</p>
858858
</dd>
859-
<dt class="hdlist1">--show-object-format[=(storage|input|output)]</dt>
859+
<dt class="hdlist1">--show-object-format[=(storage|input|output|compat)]</dt>
860860
<dd>
861-
<p>Show the object format (hash algorithm) used for the repository
862-
for storage inside the .<code>git</code> directory, input, or output. For
863-
input, multiple algorithms may be printed, space-separated.
864-
If not specified, the default is "storage".</p>
861+
<p>Show the object format (hash algorithm) used for the repository for storage
862+
inside the .<code>git</code> directory, input, output, or compatibility. For input,
863+
multiple algorithms may be printed, space-separated. If <code>compat</code> is
864+
requested and no compatibility algorithm is enabled, prints an empty line. If
865+
not specified, the default is "storage".</p>
865866
</dd>
866867
<dt class="hdlist1">--show-ref-format</dt>
867868
<dd>
@@ -1655,7 +1656,7 @@ <h2 id="_git">GIT</h2>
16551656
</div>
16561657
<div id="footer">
16571658
<div id="footer-text">
1658-
Last updated 2025-10-20 15:09:57 -0700
1659+
Last updated 2025-10-22 15:04:39 -0700
16591660
</div>
16601661
</div>
16611662
</body>

0 commit comments

Comments
 (0)