interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git

1891de4 Sync with Git 2.56.1 Junio C Hamano committed 2026-11-09
.github/
Documentation/
bin-wrappers/
block-sha1/
builtin/
ci/
compat/
compiler-tricks/
contrib/
ewah/
git-gui/
gitk-git/
gitweb/
mergetools/
negotiator/
odb/
oss-fuzz/
perl/
po/
refs/
reftable/
sha1/
sha1dc/
sha256/
src/
subprojects/
t/
templates/
tools/
trace2/
xdiff/
.b4-config285
.b4-cover-template127
.cirrus.yml573
.clang-format6446
.editorconfig383
.gitattributes942
.gitignore3767
.gitlab-ci.yml7778
.gitmodules153
.mailmap18346
.tsan-suppressions667
CODE_OF_CONDUCT.md5989
COPYING18765
Cargo.toml136
GIT-BUILD-OPTIONS.in1588
GIT-VERSION-FILE.in26
GIT-VERSION-GEN2453
INSTALL9780
LGPL-2.126859
Makefile131698
README.md3808
RelNotes34
SECURITY.md1972
abspath.c8588
abspath.h1833
aclocal.m41473
add-interactive.c30600
add-interactive.h227
add-patch.c63456
add-patch.h1719
advice.c10056
advice.h2633
alias.c4154
alias.h441
alloc.c2855
alloc.h493
apply.c142849
apply.h5398
archive-tar.c14224
archive-zip.c17843
archive.c22131
archive.h1578
attr.c35118
attr.h8286
banned.h1131
base85.c2712
base85.h461
bisect.c32040
bisect.h2352
blame.c86497
blame.h5625
blob.c403
blob.h654
bloom.c15326
bloom.h5035
branch.c27036
branch.h5754
build.rs754
builtin.h18155
bundle-uri.c25338
bundle-uri.h4338
bundle.c16904
bundle.h2339
cache-tree.c28427
cache-tree.h1885
cbtree.c3801
cbtree.h1757
chdir-notify.c1721
chdir-notify.h2389
checkout.c2285
checkout.h430
chunk-format.c4924
chunk-format.h2112
color.c11390
color.h5294
column.c9847
column.h1455
combine-diff.c44461
command-list.txt13800
commit-graph.c80879
commit-graph.h7664
commit-reach.c39520
commit-reach.h5635
commit-slab-decl.h1458
commit-slab-impl.h3129
commit-slab.h2601
commit.c53405
commit.h14458
common-exit.c680
common-init.c2168
common-init.h107
common-main.c236
config.c93451
config.h26490
config.mak.dev3829
config.mak.in540
config.mak.uname25937
configure.ac38425
connect.c40363
connect.h1642
connected.c6993
connected.h2028
convert.c51046
convert.h7455
copy.c1519
copy.h350
credential.c19217
credential.h10111
csum-file.c5937
csum-file.h2988
ctype.c1016
daemon.c36208
date.c34538
date.h2424
decorate.c2027
decorate.h1743
delta-islands.c13104
delta-islands.h624
delta.h3335
diagnose.c6951
diagnose.h398
diff-delta.c15925
diff-lib.c20779
diff-merges.c4562
diff-merges.h687
diff-no-index.c11439
diff.c222169
diff.h24560
diffcore-break.c9534
diffcore-delta.c5703
diffcore-order.c2410
diffcore-pickaxe.c7350
diffcore-rename.c52656
diffcore-rotate.c1064
diffcore.h8133
dir-iterator.c7263
dir-iterator.h3717
dir.c115818
dir.h22445
editor.c4138
editor.h1194
entry.c16613
entry.h2225
environment.c21502
environment.h9279
exec-cmd.c8819
exec-cmd.h475
fetch-negotiator.c712
fetch-negotiator.h2228
fetch-object-info.c5717
fetch-object-info.h1186
fetch-pack.c67521
fetch-pack.h3848
fmt-merge-msg.c18985
fmt-merge-msg.h453
for-each-ref.h1014
fsck.c40504
fsck.h8846
fsmonitor--daemon.h5821
fsmonitor-ipc.c4163
fsmonitor-ipc.h1325
fsmonitor-ll.h1508
fsmonitor-path-utils.h1416
fsmonitor-settings.c7457
fsmonitor-settings.h1877
fsmonitor.c26247
fsmonitor.h2521
gettext.c3313
gettext.h1468
git-archimport.perl36942
git-compat-util.h33195
git-curl-compat.h2465
git-cvsexportcommit.perl13089
git-cvsimport.perl32078
git-cvsserver.perl163229
git-difftool--helper.sh2660
git-filter-branch.sh15850
git-instaweb.sh22153
git-merge-octopus.sh2477
git-merge-one-file.sh3695
git-merge-resolve.sh1226
git-mergetool--lib.sh10908
git-mergetool.sh11693
git-p4.py172869
git-quiltimport.sh3696
git-request-pull.sh3992
git-send-email.perl72753
git-sh-i18n.sh1717
git-sh-setup.sh8417
git-submodule.sh11161
git-svn.perl64831
git-web--browse.sh4401
git-zlib.c7422
git-zlib.h822
git.c30923
git.rc.in734
gpg-interface.c31885
gpg-interface.h3645
graph.c54854
graph.h9402
grep.c50691
grep.h6788
hash-lookup.c3424
hash-lookup.h1294
hash.c10051
hash.h16390
hashmap.c8614
hashmap.h19593
help.c23079
help.h3389
hex-ll.c1831
hex-ll.h708
hex.c3253
hex.h3319
hook.c24712
hook.h8600
http-backend.c20345
http-fetch.c4787
http-push.c52441
http-walker.c15603
http.c84651
http.h8233
ident.c18169
ident.h1893
imap-send.c46281
iterator.h2150
json-writer.c8585
json-writer.h9526
khash.h13044
kwset.c22814
kwset.h2616
levenshtein.c2580
levenshtein.h203
line-log.c29775
line-log.h1605
line-range.c6812
line-range.h1399
linear-assignment.c4219
linear-assignment.h736
list-objects-filter-options.c11778
list-objects-filter-options.h5256
list-objects-filter.c23780
list-objects-filter.h3904
list-objects.c11939
list-objects.h860
list.h5715
lockfile.c9754
lockfile.h13063
log-tree.c37887
log-tree.h1410
loose.c5620
loose.h745
ls-refs.c5710
ls-refs.h235
mailinfo.c30008
mailinfo.h1341
mailmap.c7811
mailmap.h579
match-trees.c9147
match-trees.h353
mem-pool.c5278
mem-pool.h1778
merge-blobs.c2271
merge-blobs.h225
merge-ll.c14204
merge-ll.h3500
merge-ort-wrappers.c3423
merge-ort-wrappers.h1096
merge-ort.c184442
merge-ort.h5628
merge.c4180
merge.h609
mergesort.h2974
meson.build70936
meson_options.txt8851
midx-write.c57545
midx.c28428
midx.h6474
name-hash.c20004
name-hash.h746
notes-cache.c2590
notes-cache.h541
notes-merge.c24294
notes-merge.h3009
notes-utils.c5514
notes-utils.h1570
notes.c39472
notes.h13049
object-file-convert.c8595
object-file-convert.h658
object-file.c42370
object-file.h5944
object-name.c49022
object-name.h5423
object.c15272
object.h11264
odb.c20962
odb.h26018
oid-array.c2097
oid-array.h4349
oidmap.c1859
oidmap.h2952
oidset.c3375
oidset.h3873
oidtree.c3186
oidtree.h2072
pack-bitmap-write.c37530
pack-bitmap.c90337
pack-bitmap.h7070
pack-check.c5873
pack-mtimes.c2968
pack-mtimes.h628
pack-objects.c5505
pack-objects.h9952
pack-refs.c1818
pack-refs.h580
pack-revindex.c16294
pack-revindex.h5134
pack-write.c17948
pack.h5097
packfile-list.c1856
packfile-list.h856
packfile.c59260
packfile.h11562
pager.c6551
pager.h494
parallel-checkout.c18792
parallel-checkout.h3377
parse-options-cb.c7030
parse-options.c43367
parse-options.h19753
parse.c4363
parse.h841
patch-delta.c2380
patch-ids.c4018
patch-ids.h1261
path-walk.c21957
path-walk.h3650
path.c42021
path.h10884
pathspec.c23341
pathspec.h6939
pkt-line.c16825
pkt-line.h9240
preload-index.c4622
preload-index.h375
pretty.c59835
pretty.h4795
prio-queue.c2715
prio-queue.h2026
progress.c9613
progress.h991
promisor-remote.c37932
promisor-remote.h3203
prompt.c1672
prompt.h223
protocol-caps.c3838
protocol-caps.h194
protocol.c2671
protocol.h1690
prune-packed.c1214
prune-packed.h199
pseudo-merge.c20823
pseudo-merge.h6308
quote.c12433
quote.h3740
range-diff.c17462
range-diff.h1166
reachable.c8605
reachable.h520
read-cache-ll.h17872
read-cache.c116555
read-cache.h1412
rebase-interactive.c8180
rebase-interactive.h681
rebase.c1119
rebase.h226
ref-filter.c104440
ref-filter.h7344
reflog-walk.c9258
reflog-walk.h930
reflog.c14890
reflog.h2395
refs.c96568
refs.h53142
refspec.c12420
refspec.h3806
remote-curl.c44803
remote.c82233
remote.h14640
repack-cruft.c2805
repack-filtered.c3759
repack-geometry.c8397
repack-midx.c28774
repack-promisor.c4548
repack.c11184
repack.h5503
replace-object.c2774
replace-object.h2121
replay.c15894
replay.h2946
repo-settings.c7343
repo-settings.h2925
repository.c12662
repository.h9967
rerere.c37475
rerere.h2066
reset.c6809
reset.h2059
resolve-undo.c4346
resolve-undo.h746
revision.c137661
revision.h16789
run-command.c49361
run-command.h20309
sane-ctype.h2200
scalar.c26725
send-pack.c21165
send-pack.h1651
sequencer.c200787
sequencer.h10977
serve.c9273
serve.h208
server-info.c7996
server-info.h177
setup.c91095
setup.h14199
sh-i18n--envsubst.c10431
sha1collisiondetection @ 855827c
sha1dc_git.c869
sha1dc_git.h716
shallow.c25425
shallow.h2804
shared.mak4255
shell.c5560
shortlog.h788
sideband.c13042
sideband.h1618
sigchain.c1128
sigchain.h1725
simple-ipc.h7155
sparse-index.c21095
sparse-index.h1797
split-index.c14336
split-index.h1257
stable-qsort.c986
stash.h551
statinfo.c3228
statinfo.h2640
strbuf.c25495
strbuf.h23524
string-list.c9814
string-list.h11969
strmap.c4437
strmap.h6930
strvec.c3364
strvec.h3777
sub-process.c6075
sub-process.h3196
submodule-config.c28048
submodule-config.h4780
submodule.c75862
submodule.h6186
symlinks.c10395
symlinks.h755
tag.c5638
tag.h719
tar.h693
tempfile.c9838
tempfile.h10724
thread-utils.c2672
thread-utils.h1446
tmp-objdir.c8707
tmp-objdir.h1857
trace.c10782
trace.h8265
trace2.c24429
trace2.h22142
trailer.c36498
trailer.h7583
transport-helper.c45203
transport-internal.h2913
transport.c49559
transport.h11133
tree-diff.c19112
tree-verify.c12173
tree-verify.h382
tree-walk.c33323
tree-walk.h7174
tree.c5343
tree.h1855
unicode-width.h10654
unimplemented.sh99
unix-socket.c2917
unix-socket.h370
unix-stream-server.c2965
unix-stream-server.h760
unpack-trees.c86789
unpack-trees.h3619
upload-pack.c50888
upload-pack.h477
url.c3583
url.h1531
urlmatch.c22521
urlmatch.h3343
usage.c8697
userdiff.c19909
userdiff.h1584
utf8.c21201
utf8.h3716
varint.c661
varint.h156
version-def.h.in207
version.c2042
version.h481
versioncmp.c5489
versioncmp.h118
walker.c8306
walker.h1147
wildmatch.c8256
wildmatch.h208
worktree.c31092
worktree.h8291
wrapper.c21112
wrapper.h5936
write-or-die.c2562
write-or-die.h2592
ws.c10206
ws.h1349
wt-status.c80516
wt-status.h5282
xdiff-interface.c8258
xdiff-interface.h3050

README.md

GitHub build status GitLab build status

Git - fast, scalable, distributed revision control system

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals.

Git is an Open Source project covered by the GNU General Public License version 2 (some parts of it are under different licenses, compatible with the GPLv2). It was originally written by Linus Torvalds with help of a group of hackers around the net.

Please read the file INSTALL for installation instructions.

Many Git online resources are accessible from https://git-scm.com/ including full documentation and Git related tools.

See Documentation/gittutorial.adoc to get started, then see Documentation/giteveryday.adoc for a useful minimum set of commands, and Documentation/git-<commandname>.adoc for documentation of each command. If git has been correctly installed, then the tutorial can also be read with man gittutorial or git help tutorial, and the documentation of each command with man git-<commandname> or `git help <commandname>`.

CVS users may also want to read Documentation/gitcvs-migration.adoc (man gitcvs-migration or git help cvs-migration if git is installed).

The user discussion and development of Git take place on the Git mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to git@vger.kernel.org (read Documentation/SubmittingPatches for instructions on patch submission and Documentation/CodingGuidelines).

Those wishing to help with error message, usage and informational message string translations (localization l10) should see po/README.md (a po file is a Portable Object file that holds the translations).

To subscribe to the list, send an email to git+subscribe@vger.kernel.org (see https://subspace.kernel.org/subscribing.html for details). The mailing list archives are available at https://lore.kernel.org/git/, https://marc.info/?l=git and other archival sites.

Issues which are security relevant should be disclosed privately to the Git Security mailing list git-security@googlegroups.com.

The maintainer frequently sends the "What's cooking" reports that list the current status of various development topics to the mailing list. The discussion following them give a good reference for project status, development direction and remaining tasks.

The name "git" was given by Linus Torvalds when he wrote the very first version. He described the tool as "the stupid content tracker" and the name as (depending on your mood):

  • random three-letter combination that is pronounceable, and not actually used by any common UNIX command. The fact that it is a mispronunciation of "get" may or may not be relevant.
  • stupid. contemptible and despicable. simple. Take your pick from the dictionary of slang.
  • "global information tracker": you're in a good mood, and it actually works for you. Angels sing, and a light suddenly fills the room.
  • "goddamn idiotic truckload of sh*t": when it breaks